cve.bz

CVE-2022-2400 dompdf project dompdf: External Control of File Name or Path

5.3 mediumExploit referenceEPSS 1.2%Fix available

Medium (5.3) in dompdf project dompdf. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in dompdf/dompdf 2.0.0.

On this page
External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-73 External Control of File Name or Path
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-2400 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2400?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2400?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-2400 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
dompdf/dompdfbefore 2.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5qj8-6xxj-hp9hPackagistdompdf/dompdf<2.0.02.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10php-dompdf0.6.2+dfsg-3+deb10u1DLA-3495-1
Debian11php-dompdf0.6.2+dfsg-3.1+deb11u1DLA-4427-1
Debian12php-dompdf2.0.2+dfsg-1DEBIAN-CVE-2022-2400
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moreicingaweb2no fix listedUBUNTU-CVE-2022-2400
Ubuntu20.04:LTSphp-dompdf0.6.2+dfsg-3ubuntu0.20.04.1UBUNTU-CVE-2022-2400 USN-6277-1
Ubuntu22.04:LTSphp-dompdf0.6.2+dfsg-3.1ubuntu0.1UBUNTU-CVE-2022-2400 USN-6277-2
UbuntuPro:16.04:LTSphp-dompdf0.6.1+dfsg-2ubuntu1+esm1UBUNTU-CVE-2022-2400 USN-6277-1
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 morecivicrmno fix listedUBUNTU-CVE-2022-2400
UbuntuPro:18.04:LTSphp-dompdf0.6.2+dfsg-3ubuntu0.18.04.1~esm1UBUNTU-CVE-2022-2400 USN-6277-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-267 Leverage Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON