What’s Vulnerable › Vulnerabilities
CVE-2024-7868: Uninitialized variable in Xpdf 4.05 due to invalid JPEG header
- Severity: high (CVSS 8.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-15 · updated 2026-06-17
- Weakness: CWE-457
Description
In Xpdf 4.05 (and earlier), invalid header info in a DCT (JPEG) stream can lead to an uninitialized variable in the DCT decoder. The proof-of-concept PDF file causes a segfault attempting to read from an invalid address.
Affected products
- Xpdf: before 4.06 — fixed in 4.06
How to fix
Upgrade to a fixed version: Xpdf 4.06. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-7868 or the next vulnerability affects your stack