{"id":"CVE-2023-3044","aliases":["ALPINE-CVE-2023-3044","EUVD-2023-43736","GHSA-6w33-g59h-852h","MGASA-2024-0035","UBUNTU-CVE-2023-3044"],"status":"published","title":"Divide-by-zero in Xpdf 4.04 due to very large page size","description":"An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code.\n\n\n\n\nThis is related to CVE-2022-30524, but the problem here is caused by a very large page size, rather than by a very large character coordinate.","severity":{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00345,"percentile":0.28239,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-369"],"published":"2023-06-02T22:32:31Z","modified":"2026-11-03T06:32:42Z","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:16.04:LTS","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.03-17ubuntu2","3.03-17ubuntu3","3.03-17ubuntu5","3.03-18","3.04-1","3.04-1build1","3.04-1ubuntu1","3.04-1ubuntu1.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:18.04:LTS","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04-4build1","3.04-5","3.04-5ubuntu2","3.04-6ubuntu1","3.04-7"]},{"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:22.04:LTS","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04+git20210103-3build1","3.04+git20211021-1","3.04+git20211021-1ubuntu1","3.04+git20220201-1"]},{"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:24.04:LTS","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04+git20220601-1ubuntu1","3.04+git20220601-1ubuntu2","3.04+git20231213-1","3.04+git20240118-1","3.04+git20240124-1","3.04+git20240202-1","3.04+git20240202-1build1","3.04+git20240202-1build2","3.04+git20240202-1build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04+git20250304-1"]},{"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.10","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04+git20260220-1","3.04+git20260220-1ubuntu1","3.04+git20260802-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build1","7.2.30-1build2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04+git20250304-1","3.04+git20250304-1build1","3.04+git20260220-1"]}],"products":[{"vendor":"xpdf","product":"xpdf"},{"vendor":"xpdfreader","product":"xpdf"}],"references":[{"url":"https://www.xpdfreader.com/security-bug/CVE-2023-3044.html","tags":["x_transferred","Vendor Advisory","report"]},{"url":"https://github.com/baker221/poc-xpdf","tags":["x_transferred","Exploit","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3044"},{"url":"https://github.com/advisories/GHSA-6w33-g59h-852h"},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-3044","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-2023-3044","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-3044","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-3044","title":"Divide-by-zero in Xpdf 4.04 due to very large page size","description":"An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code.\n\n\n\n\nThis is related to CVE-2022-30524, but the problem here is caused by a very large page size, rather than by a very large character coordinate.\n\n\n","status":"published","published":"2023-06-02T22:32:31.677Z","modified":"2025-01-08T17:53:11.882Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"cna"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T14:35:24.707957Z"}],"euvd":[{"id":"EUVD-2023-43736","description":"An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code.\n\n\n\n\nThis is related to CVE-2022-30524, but the problem here is caused by a very large page size, rather than by a very large character coordinate.\n\n\n","status":"published","published":"2023-06-02T22:32:31Z","modified":"2025-01-08T17:53:11Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-03T00:04:23.485796Z"}],"ghsa":[{"id":"GHSA-6w33-g59h-852h","title":"An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can...","description":"An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code.\n\n\n\n\nThis is related to CVE-2022-30524, but the problem here is caused by a very large page size, rather than by a very large character coordinate.\n\n\n","status":"published","published":"2023-06-03T00:30:16Z","modified":"2024-04-04T04:31:09Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T14:56:24.450325Z"}],"nvd":[{"id":"CVE-2023-3044","description":"An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code.\n\n\n\n\nThis is related to CVE-2022-30524, but the problem here is caused by a very large page size, rather than by a very large character coordinate.\n\n\n","status":"published","published":"2023-06-02T23:15:09.58Z","modified":"2026-06-17T06:13:14.653Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"primary"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T14:08:03.795015Z"}],"osv":[{"id":"ALPINE-CVE-2023-3044","description":"An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code.\n\n\n\n\nThis is related to CVE-2022-30524, but the problem here is caused by a very large page size, rather than by a very large character coordinate.\n\n\n","status":"published","published":"2023-06-02T23:15:09.58Z","modified":"2026-11-03T06:32:42.555406768Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-03T07:17:02.90744Z"},{"id":"UBUNTU-CVE-2023-3044","description":"An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code. This is related to CVE-2022-30524, but the problem here is caused by a very large page size, rather than by a very large character coordinate.","status":"published","published":"2023-06-02T23:15:00Z","modified":"2026-10-17T12:56:05.733310428Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T16:54:20.997471Z"},{"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"}]}}
