CVE-2024-7866: Stack overflow in Xpdf 4.05 due to object loop in PDF pattern
Vulnerability summary
CVE-2024-7866 is a medium (CVSS 5.5) Uncontrolled Recursion vulnerability in xpdf. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.8% of scored vulnerabilities.
Not severe (CVSS 2.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 15-08-2024PublishedVulnerability first disclosed.
- 16-08-2024Last modifiedVulnerability information updated.
Description
In Xpdf 4.05 (and earlier), a PDF object loop in a pattern resource leads to infinite recursion and a stack overflow.
CVSS metrics
5 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated2.1LowCVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST2.1LowCVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- ipeAll versions (No fix recorded)
- xpdfAll versions (No fix recorded)
Xpdf1 product
- xpdf≤ 4.05
Xpdfreader1 product
- xpdf≤ 4.05
3 vendors · 4 products
References
3 links- www.xpdfreader.com/security-bug/object-loops.htmlVendor Advisory