{"id":"CVE-2022-2400","aliases":["CLSA-2025-1766019429","CLSA-2025-1766364765","DEBIAN-CVE-2022-2400","DLA-3495-1","DLA-4427-1","EUVD-2022-6252","GHSA-5qj8-6xxj-hp9h","UBUNTU-CVE-2022-2400","USN-6277-1","USN-6277-2"],"status":"published","title":"External Control of File Name or Path in dompdf/dompdf","description":"External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.","severity":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01209,"percentile":0.68629,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-73"],"published":"2022-07-18T00:00:00Z","modified":"2026-11-03T08:03:50Z","fixes":[{"ecosystem":"Packagist","package":"dompdf/dompdf","fixed_in":["2.0.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"php-dompdf","fixed_in":["2.0.2+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"php-dompdf","fixed_in":["0.6.1+dfsg-2ubuntu1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"php-dompdf","fixed_in":["0.6.2+dfsg-3ubuntu0.18.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"php-dompdf","fixed_in":["0.6.2+dfsg-3ubuntu0.20.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"php-dompdf","fixed_in":["0.6.2+dfsg-3.1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"dompdf/dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}]},{"source":"osv","ecosystem":"TuxCare:Packagist","package":"dompdf/dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"v1.2.2"},{"fixed":"1.2.2-p1+tuxcare"}]}],"versions":["v1.2.2"],"bundled":7},{"source":"osv","ecosystem":"TuxCare:Packagist","package":"dompdf/dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.6"},{"fixed":"0.8.6-p1+tuxcare"}]}],"versions":["0.8.6"],"bundled":8},{"source":"osv","ecosystem":"Debian:12","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.2+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2+dfsg-3+deb10u1"}]}],"versions":["0.6.2+dfsg-3"],"bundled":2},{"source":"osv","ecosystem":"Debian:11","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2+dfsg-3.1+deb11u1"}]}],"versions":["0.6.2+dfsg-3.1"],"bundled":2},{"source":"osv","ecosystem":"Packagist","package":"dompdf/dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"versions":["v0.6.0","v0.6.1","v0.6.2","v0.7.0","v0.7.0-beta","v0.7.0-beta2","v0.7.0-beta3","v0.8.0","v0.8.1","v0.8.2","v0.8.3","v0.8.4","v0.8.5","v0.8.6","v1.0.0","v1.0.1","v1.0.2","v1.1.0","v1.1.1","v1.2.0","v1.2.1","v1.2.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1+dfsg-2ubuntu1+esm1"}]}],"versions":["0.6.1+dfsg-2","0.6.1+dfsg-2build1","0.6.1+dfsg-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"civicrm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.1+dfsg-1","4.7.1+dfsg-2","4.7.1+dfsg-2ubuntu1","4.7.1+dfsg-2ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"icingaweb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0-1ubuntu1","2.1.0-1ubuntu1.1","2.1.0-1ubuntu1.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"civicrm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.23+dfsg-1ubuntu1","4.7.24+dfsg-1ubuntu1","4.7.30+dfsg-1ubuntu1","4.7.30+dfsg-1ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"icingaweb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-1","2.4.1-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2+dfsg-3ubuntu0.18.04.1~esm1"}]}],"versions":["0.6.2+dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2+dfsg-3ubuntu0.20.04.1"}]}],"versions":["0.6.2+dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"civicrm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.11.0+dfsg-1","5.18.1+dfsg-1","5.20.3+dfsg-1","5.21.0+dfsg-1","5.21.1+dfsg-1","5.21.2+dfsg-1","5.21.2+dfsg-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"icingaweb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1-1","2.7.3-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"icingaweb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.2-2","2.9.3-1","2.9.4-1","2.9.5-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2+dfsg-3.1ubuntu0.1"}]}],"versions":["0.6.2+dfsg-3.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"civicrm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.33.2+dfsg1-1","5.33.2+dfsg1-1build1","5.33.2+dfsg1-1ubuntu1","5.33.2+dfsg1-1ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"icingaweb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.4-3","2.12.0-1","2.12.1-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"icingaweb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.2-1","2.12.4-1","2.12.4-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"icingaweb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.6-1","2.13.0-1","2.14.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"icingaweb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.4-2","2.12.5-1","2.12.6-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1+dfsg-2ubuntu1+esm1"}]}],"versions":["0.6.1+dfsg-2","0.6.1+dfsg-2build1","0.6.1+dfsg-2ubuntu1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2+dfsg-3ubuntu0.18.04.1~esm1"}]}],"versions":["0.6.2+dfsg-3"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2+dfsg-3ubuntu0.20.04.1"}]}],"versions":["0.6.2+dfsg-3"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"php-dompdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2+dfsg-3.1ubuntu0.1"}]}],"versions":["0.6.2+dfsg-3.1"],"bundled":2}],"products":[{"vendor":"dompdf","product":"dompdf/dompdf"},{"vendor":"dompdf_project","product":"dompdf"}],"references":[{"url":"https://huntr.dev/bounties/a6da5e5e-86be-499a-a3c3-2950f749202a","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web","report"]},{"url":"https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a","tags":["x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00017.html","tags":["mailing-list","x_transferred","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2400","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5qj8-6xxj-hp9h"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2400.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-2400","tags":["advisory"]},{"url":"https://github.com/dompdf/dompdf","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-2400","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6277-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6277-2","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2400","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-5011","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-5012","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-5013","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-3838","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-2400","title":"External Control of File Name or Path in dompdf/dompdf","description":"External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.","status":"published","published":"2022-07-18T00:00:00Z","modified":"2024-08-03T00:39:06.372Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-73"],"updated_at":"2026-11-02T14:34:32.495407Z"}],"euvd":[{"id":"EUVD-2022-6252","description":"External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.","status":"published","published":"2022-07-18T00:00:00Z","modified":"2024-08-03T00:39:06Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T03:25:58.383516Z"}],"ghsa":[{"id":"GHSA-5qj8-6xxj-hp9h","title":"Dompdf before v2.0.0 vulnerable to chroot check bypass","description":"Dompdf prior to version 2.0.0 is vulnerable to a chroot check bypass, which could cause disclosure of png and jpeg files.","status":"published","published":"2022-07-19T00:00:26Z","modified":"2023-07-14T13:41:34Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-73"],"updated_at":"2026-11-02T14:36:57.310051Z"}],"nvd":[{"id":"CVE-2022-2400","description":"External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.","status":"published","published":"2022-07-18T15:15:08.153Z","modified":"2026-06-17T04:41:49.56Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-73"],"updated_at":"2026-11-02T14:07:23.686531Z"}],"osv":[{"id":"CVE-2022-2400","title":"External Control of File Name or Path in dompdf/dompdf","description":"External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.","status":"published","published":"2022-07-18T00:00:00Z","modified":"2026-10-28T02:30:33.149980601Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-73"],"updated_at":"2026-11-02T15:44:24.428403Z"},{"id":"DEBIAN-CVE-2022-2400","description":"External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.","status":"published","published":"2022-07-18T15:15:08.153Z","modified":"2026-11-03T08:03:50.399752457Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T08:23:57.167851Z"},{"id":"GHSA-5qj8-6xxj-hp9h","title":"Dompdf before v2.0.0 vulnerable to chroot check bypass","description":"Dompdf prior to version 2.0.0 is vulnerable to a chroot check bypass, which could cause disclosure of png and jpeg files.","status":"published","published":"2022-07-19T00:00:26Z","modified":"2024-02-16T08:11:06.411486Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-73"],"updated_at":"2026-11-02T15:46:38.553953Z"},{"id":"UBUNTU-CVE-2022-2400","description":"External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.","status":"published","published":"2022-07-18T15:15:00Z","modified":"2026-10-17T12:56:21.568799099Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:53.13624Z"},{"id":"CLSA-2025-1766019429","title":"TuxCare security update for dompdf/dompdf (7 CVEs)","description":"TuxCare rebuilt dompdf/dompdf to address 7 CVEs. Fixed in 1.2.2-p1+tuxcare.","status":"published","published":"2026-08-04T14:52:39Z","modified":"2026-10-15T09:47:40.737007889Z","updated_at":"2026-11-02T15:43:42.847264Z"},{"id":"CLSA-2025-1766364765","title":"TuxCare security update for dompdf/dompdf (8 CVEs)","description":"TuxCare rebuilt dompdf/dompdf to address 8 CVEs. Fixed in 0.8.6-p1+tuxcare.","status":"published","published":"2026-08-04T14:52:36Z","modified":"2026-10-15T09:48:00.297535956Z","updated_at":"2026-11-02T15:43:42.847264Z"},{"id":"DLA-3495-1","title":"php-dompdf - security update","status":"published","published":"2023-07-13T00:00:00Z","modified":"2026-03-09T01:19:12.888518Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"DLA-4427-1","title":"php-dompdf - security update","status":"published","published":"2025-12-30T00:00:00Z","modified":"2025-12-30T09:29:51.342555Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"USN-6277-1","title":"php-dompdf vulnerabilities","description":"It was discovered that Dompdf was not properly validating untrusted input when\nprocessing HTML content under certain circumstances. An attacker could\npossibly use this issue to expose sensitive information or execute arbitrary\ncode. This issue only affected Ubuntu 16.04 LTS.\n(CVE-2014-5011, CVE-2014-5012, CVE-2014-5013)\n\nIt was discovered that Dompdf was not properly validating processed HTML\ncontent that referenced PHAR files, which could result in the deserialization\nof untrusted data. An attacker could possibly use this issue to execute\narbitrary code. (CVE-2021-3838)\n\nIt was discovered that Dompdf was not properly validating processed HTML\ncontent that referenced both a remote base and a local file, which could\nresult in the bypass of a chroot check. An attacker could possibly use this\nissue to expose sensitive information. (CVE-2022-2400)\n","status":"published","published":"2023-08-08T14:10:26Z","modified":"2026-06-25T13:32:14.974905335Z","updated_at":"2026-11-02T16:58:17.305935Z"},{"id":"USN-6277-2","title":"php-dompdf vulnerabilities","description":"USN-6277-1 fixed vulnerabilities in Dompdf. This update provides the\ncorresponding updates for Ubuntu 22.04 LTS.\n\nOriginal advisory details:\n\n It was discovered that Dompdf was not properly validating untrusted input when\n processing HTML content under certain circumstances. An attacker could\n possibly use this issue to expose sensitive information or execute arbitrary\n code. This issue only affected Ubuntu 16.04 LTS.\n (CVE-2014-5011, CVE-2014-5012, CVE-2014-5013)\n \n It was discovered that Dompdf was not properly validating processed HTML\n content that referenced PHAR files, which could result in the deserialization\n of untrusted data. An attacker could possibly use this issue to execute\n arbitrary code. (CVE-2021-3838)\n \n It was discovered that Dompdf was not properly validating processed HTML\n content that referenced both a remote base and a local file, which could\n result in the bypass of a chroot check. An attacker could possibly use this\n issue to expose sensitive information. (CVE-2022-2400)\n","status":"published","published":"2023-08-10T18:31:51Z","modified":"2026-04-27T17:02:13.43777991Z","updated_at":"2026-11-02T16:58:17.305935Z"}]}}
