Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
pypdf versions before 6.20.1 are vulnerable to an infinite loop in PdfWriter.find_outline_item. An attacker can craft a PDF that triggers the loop when an application calls find_outline_item on a PdfWriter, which can hang the process. Upgrade to pypdf 6.20.1 or later. The source gives no workaround other than applying an unreleased patch, so upgrading is the recommended fix.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.0 | Medium | 4.0 | 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 | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0034, the 27th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 21 Oct 2026, 16:17 UTC Confirmed by NVD
- 31 Oct 2026, 14:08 UTC First seen by agentprime
- 31 Oct 2026, 14:08 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-qfv9-64jg-mh7p
- OSV: GHSA-qfv9-64jg-mh7p
- github.com/py-pdf/pypdf/security/advisories/GHSA-qfv9-64jg-mh7p
- github.com/py-pdf/pypdf/pull/4188
- github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0
- github.com/py-pdf/pypdf
- github.com/py-pdf/pypdf/releases/tag/6.20.1