{"id":"CVE-2022-30775","aliases":["ALPINE-CVE-2022-30775","EUVD-2022-52599","GHSA-gcw3-fxg3-hvjx","MGASA-2024-0035","UBUNTU-CVE-2022-30775"],"status":"published","title":"xpdf 4.04 allocates excessive memory when presented with crafted input. This can be triggered by ...","description":"xpdf 4.04 allocates excessive memory when presented with crafted input. This can be triggered by (for example) sending a crafted PDF document to the pdftoppm binary. It is most easily reproduced with the DCMAKE_CXX_COMPILER=afl-clang-fast++ option.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00841,"percentile":0.58154,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-770"],"published":"2022-05-16T02:54:45Z","modified":"2026-11-03T07:30:50Z","fixes":[{"ecosystem":"Alpine:v3.19","package":"xpdf","fixed_in":["4.05-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"xpdf","fixed_in":["4.05-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"xpdf","fixed_in":["4.05-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"xpdf","fixed_in":["4.05-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"xpdf","fixed_in":["4.05-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"xpdf","fixed_in":["4.05-r0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.19","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.05-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.05-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.05-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.05-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.05-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.05-r0"}]}]},{"source":"osv","ecosystem":"Mageia:9","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.05-1.mga9"}]}],"bundled":19},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.1.4-2.1","7.1.8-1","7.1.10-1","7.1.10-1.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.7-2","7.2.7-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.9-1","7.2.13-2","7.2.13-2build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.23+dfsg1-2","7.2.24+dfsg1-1","7.2.24+dfsg1-1build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.27+dfsg1-2","7.2.28-2","7.2.28-2.1build2","7.2.28-2.1build3","7.2.28-2.1build4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build2","7.2.30-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build1","7.2.30-1build2"]}],"products":[{"vendor":"xpdfreader","product":"xpdf"}],"references":[{"url":"https://forum.xpdfreader.com/viewtopic.php?f=3\u0026t=42264","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30775"},{"url":"https://github.com/advisories/GHSA-gcw3-fxg3-hvjx"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-30775","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0035.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30812","tags":["report"]},{"url":"http://www.xpdfreader.com/security-fixes.html","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2022-30775","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30775","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-30775","description":"xpdf 4.04 allocates excessive memory when presented with crafted input. This can be triggered by (for example) sending a crafted PDF document to the pdftoppm binary. It is most easily reproduced with the DCMAKE_CXX_COMPILER=afl-clang-fast++ option.","status":"published","published":"2022-05-16T02:54:45Z","modified":"2024-08-03T06:56:14.006Z","updated_at":"2026-11-02T14:34:31.184134Z"}],"euvd":[{"id":"EUVD-2022-52599","description":"xpdf 4.04 allocates excessive memory when presented with crafted input. This can be triggered by (for example) sending a crafted PDF document to the pdftoppm binary. It is most easily reproduced with the DCMAKE_CXX_COMPILER=afl-clang-fast++ option.","status":"published","published":"2022-05-16T02:54:45Z","modified":"2024-08-03T06:56:14Z","updated_at":"2026-11-03T03:25:35.220299Z"}],"ghsa":[{"id":"GHSA-gcw3-fxg3-hvjx","title":"xpdf 4.04 allocates excessive memory when presented with crafted input. This can be triggered by ...","description":"xpdf 4.04 allocates excessive memory when presented with crafted input. This can be triggered by (for example) sending a crafted PDF document to the pdftoppm binary. It is most easily reproduced with the DCMAKE_CXX_COMPILER=afl-clang-fast++ option.","status":"published","published":"2022-05-17T00:01:47Z","modified":"2023-02-03T05:01:09Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:52:55.451166Z"}],"nvd":[{"id":"CVE-2022-30775","description":"xpdf 4.04 allocates excessive memory when presented with crafted input. This can be triggered by (for example) sending a crafted PDF document to the pdftoppm binary. It is most easily reproduced with the DCMAKE_CXX_COMPILER=afl-clang-fast++ option.","status":"published","published":"2022-05-16T03:15:07.823Z","modified":"2026-06-17T04:44:16.5Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:07:20.264424Z"}],"osv":[{"id":"ALPINE-CVE-2022-30775","description":"xpdf 4.04 allocates excessive memory when presented with crafted input. This can be triggered by (for example) sending a crafted PDF document to the pdftoppm binary. It is most easily reproduced with the DCMAKE_CXX_COMPILER=afl-clang-fast++ option.","status":"published","published":"2022-05-16T03:15:07.823Z","modified":"2026-11-03T07:30:50.186016366Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"id":"UBUNTU-CVE-2022-30775","description":"xpdf 4.04 allocates excessive memory when presented with crafted input. This can be triggered by (for example) sending a crafted PDF document to the pdftoppm binary. It is most easily reproduced with the DCMAKE_CXX_COMPILER=afl-clang-fast++ option.","status":"published","published":"2022-05-16T03:15:00Z","modified":"2026-10-17T12:55:58.206065703Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"MGASA-2024-0035","title":"Updated xpdf packages fix security vulnerabilities","description":"The updated packages fix security vulnerabilities:\nLogic bug in text extractor led to invalid memory access.\n(CVE-2022-30524)\nInteger overflow in rasterizer. (CVE-2022-30775)\nPDF object loop in Catalog::countPageTree. (CVE-2022-33108)\nPDF object loop in AcroForm::scanField. (CVE-2022-36561)\nLogic bug in JBIG2 decoder. (CVE-2022-38222)\nPDF object loop in Catalog::countPageTree. (CVE-2022-38334)\nMissing bounds check in CFF font converter caused null pointer\ndereference. (CVE-2022-38928)\nPDF object loop in Catalog::countPageTree. (CVE-2022-41842)\nMissing bounds check in CFF font parser caused invalid memory access.\n(CVE-2022-41843)\nPDF object loop in AcroForm::scanField. (CVE-2022-41844)\nPDF object loop in Catalog::readPageLabelTree2. (CVE-2022-43071)\nPDF object loop in Catalog::countPageTree. (CVE-2022-43295)\nPDF object loop in Catalog::countPageTree. (CVE-2022-45586)\nPDF object loop in Catalog::countPageTree. (CVE-2022-45587)\nDivide-by-zero in Xpdf 4.04 due to bad color space object.\n(CVE-2023-2662)\nPDF object loop in Catalog::readPageLabelTree2. (CVE-2023-2663)\nPDF object loop in Catalog::readEmbeddedFileTree. (CVE-2023-2664)\nDivide-by-zero in Xpdf 4.04 due to very large page size. (CVE-2023-3044)\nDeadlock in Xpdf 4.04 due to PDF object stream references.\n(CVE-2023-3436)\n","status":"published","published":"2024-02-10T19:02:27Z","modified":"2026-04-16T04:42:43.840361413Z","updated_at":"2026-11-02T15:49:42.684501Z"}]}}
