What’s Vulnerable › Vulnerabilities
CVE-2023-3044: Divide-by-zero in Xpdf 4.04 due to very large page size
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-06-02 · updated 2026-06-17
- Weakness: CWE-369
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.
Affected products
- Xpdf: before 4.05 — fixed in 4.05
How to fix
Upgrade to a fixed version: Xpdf 4.05. Check the vendor advisory for mitigations.
References
- https://github.com/baker221/poc-xpdf
- https://www.xpdfreader.com/security-bug/CVE-2023-3044.html
- https://github.com/baker221/poc-xpdf
- https://www.xpdfreader.com/security-bug/CVE-2023-3044.html
Get alerted when CVE-2023-3044 or the next vulnerability affects your stack