Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
pypdf versions before 6.7.1 can enter an infinite loop when processing a TreeObject. An attacker can trigger this by supplying a crafted PDF, and the loop is reached when the children of a TreeObject are accessed, for example through outlines. Upgrade to pypdf 6.7.1 or later.
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.9 | Medium | 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0019, the 8th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 20 Feb 2026, 22:16 UTC Confirmed by NVD
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-996q-pr4m-cvgq
- OSV: GHSA-996q-pr4m-cvgq
- github.com/py-pdf/pypdf/security/advisories/GHSA-996q-pr4m-cvgq
- nvd.nist.gov/vuln/detail/CVE-2026-27024
- github.com/py-pdf/pypdf/pull/3645
- github.com/py-pdf/pypdf/commit/bd2f6d052fe5941e85e37082c2a43453d48d1295
- github.com/py-pdf/pypdf
- github.com/py-pdf/pypdf/releases/tag/6.7.1