# CVE-2023-2664: Stack overflow in Xpdf 4.04 due to object loop in PDF embedded file tree

- Severity: Low 2.9 (CVSS:3.1, scored by GandC) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-11T20:21:25.821Z
- Modified: 2026-06-17T05:53:08.443Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GandC

## Description

In Xpdf 4.04 (and earlier), a PDF object loop in the embedded file tree leads to infinite recursion and a stack overflow.

(As written by CVE List.)

## Affected

- Xpdf Xpdf: 4.04
- xpdfreader xpdf: up to 4.04

## Every score

- GandC: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://forum.xpdfreader.com/viewtopic.php?t=42422> (exploit)

## Sources

- CVE List: [CVE-2023-2664](https://www.cve.org/CVERecord?id=CVE-2023-2664), CVE Terms of Use, modified 2025-01-23
- NVD: [CVE-2023-2664](https://nvd.nist.gov/vuln/detail/CVE-2023-2664), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2664 · Whole record: https://cve.day/CVE-2023-2664.json · Rebuilt by cve.day 2026-11-25T22:58:24.108Z
