# CVE-2026-113793: pypdf: Possible infinite loop when removing tree items

- 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.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-10-21T15:57:55.600Z
- Modified: 2026-11-05T21:27:07.577Z
- Also known as: GHSA-9mx8-4j7g-633p
- 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, removing an object from a crafted cyclic PDF tree, such as an outline item, 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 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-9mx8-4j7g-633p> (patch, 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-113793](https://www.cve.org/CVERecord?id=CVE-2026-113793), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-9mx8-4j7g-633p](https://github.com/advisories/GHSA-9mx8-4j7g-633p), CC-BY-4.0, modified 2026-10-21
- NVD: [CVE-2026-113793](https://nvd.nist.gov/vuln/detail/CVE-2026-113793), Public domain, modified 2026-11-05

---

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