CVE-2024-7866: In Xpdf 4.05 (and earlier), a PDF object loop in a pattern resource leads to infinite recursion and a stack ov
CVE-2024-7866 is a medium-severity flaw (CVSS 5.5) affecting xpdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In Xpdf 4.05 (and earlier), a PDF object loop in a pattern resource leads to infinite recursion and a stack overflow.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 88%) |
| CISA exploited list | No |
| Weakness | CWE-674 |
| Published | 2024-08-15 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-7866?
xpdf: upgrade to newer than 4.05. Exact commands for each OS are on this page.
Is CVE-2024-7866 being exploited?
CVE-2024-7866 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-7866 affect?
CVE-2024-7866 affects xpdf. Severity is medium (CVSS 5.5). In Xpdf 4.05 (and earlier), a PDF object loop in a pattern resource leads to infinite recursion and a stack overflow.
How urgent is CVE-2024-7866?
Priority 22/100. No elevated risk signals yet.
Related CVEs
- CVE-2024-7868 HIGH 8.2 UPGRADE In Xpdf 4.05 (and earlier), invalid header info in a DCT (JPEG) stream can lead to an uninitialized variable i
- CVE-2024-7867 MEDIUM 6.2 UPGRADE In Xpdf 4.05 (and earlier), very large coordinates in a page box can cause an integer overflow and divide-by-z
- CVE-2024-4568 LOW 2.9 UPGRADE In Xpdf 4.05 (and earlier), a PDF object loop in the PDF resources leads to infinite recursion and a stack ove
- CVE-2024-4141 LOW 2.9 UPGRADE Out-of-bounds array write in Xpdf 4.05 and earlier, triggered by an invalid character code in a Type 1 font
- CVE-2024-3900 LOW 2.9 UPGRADE Out-of-bounds array write in Xpdf 4.05 and earlier, triggered by long Unicode sequence in ActualText.