Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The pypdf package before 6.21.2 is vulnerable to long processing times when it parses a PDF containing repeated malformed cross-reference stream entries. An attacker who can supply a crafted PDF for pypdf to process can cause it to run for a long time. Upgrade to pypdf 6.21.2 or later. The advisory's workaround, applying the changes from a referenced pull request, is not something most readers can apply directly.
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 |
|---|---|---|---|---|
| 7.1 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/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.0041, the 35th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 23 Oct 2026, 20: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-jr96-gvgh-j3r4
- OSV: GHSA-jr96-gvgh-j3r4
- github.com/py-pdf/pypdf/security/advisories/GHSA-jr96-gvgh-j3r4
- github.com/py-pdf/pypdf/pull/4240
- github.com/py-pdf/pypdf/commit/68a0e5046cc9e14a6c24a21a713f3c7fbde18b4b
- github.com/py-pdf/pypdf
- github.com/py-pdf/pypdf/releases/tag/6.21.2