# CVE-2024-7866: Stack overflow in Xpdf 4.05 due to object loop in PDF pattern

- Priority: **Routine**
- Reason: Not severe (CVSS 2.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-08-15 · Modified: 2024-08-16
- Aliases: UBUNTU-CVE-2024-7866
- Record: https://cvemate.com/vulnerability/CVE-2024-7866 · JSON: https://cvemate.com/vulnerability/CVE-2024-7866/json

## Description

```text
In Xpdf 4.05 (and earlier), a PDF object loop in a pattern resource leads to infinite recursion and a stack overflow.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.217%, percentile 12.892%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu ipe (Ubuntu): All versions (No fix recorded)
- ubuntu xpdf (Ubuntu): All versions (No fix recorded)
- xpdf xpdf: ≤ 4.05
- xpdfreader xpdf: ≤ 4.05

## References

- <https://www.xpdfreader.com/security-bug/object-loops.html>
- <https://ubuntu.com/security/CVE-2024-7866>
- <https://www.cve.org/CVERecord?id=CVE-2024-7866>

---

Data as of 2026-12-05T03:08:52.779Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
