# CVE-2026-113792: pypdf: Possible infinite loop in PdfWriter.find_outline_item

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- 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.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-10-21T15:55:55.976Z
- Modified: 2026-11-05T21:31:38.243Z
- Also known as: GHSA-qfv9-64jg-mh7p
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.20.1, calling PdfWriter.find_outline_item on a crafted PDF with a cyclic outline hierarchy can enter an infinite loop and block the current process. This issue is fixed in version 6.20.1.

(As written by CVE List.)

## Affected

- py-pdf pypdf: < 6.20.1; before 6.20.1
- pypdf (PyPI): before 6.20.1

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-qfv9-64jg-mh7p> (vendor-advisory, web)
- <https://github.com/py-pdf/pypdf/pull/4188> (issue-tracking, patch, web)
- <https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0> (patch, web)
- <https://github.com/py-pdf/pypdf/releases/tag/6.20.1> (release-notes, web)
- <https://github.com/py-pdf/pypdf> (package)

## Sources

- CVE List: [CVE-2026-113792](https://www.cve.org/CVERecord?id=CVE-2026-113792), CVE Terms of Use, modified 2026-10-23
- GitHub Advisory Database: [GHSA-qfv9-64jg-mh7p](https://github.com/advisories/GHSA-qfv9-64jg-mh7p), CC-BY-4.0, modified 2026-10-21
- NVD: [CVE-2026-113792](https://nvd.nist.gov/vuln/detail/CVE-2026-113792), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-113792 · Whole record: https://cve.day/CVE-2026-113792.json · Rebuilt by cve.day 2026-11-25T22:59:46.616Z
