high7.5
CVE-2026-27628
pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams
Impact
### Impact An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. ### Patches This has been fixed in [pypdf==6.7.2](https://github.com/py-pdf/pypdf/releases/tag/6.7.2). ### Workarounds If users cannot upgrade yet, consider applying the changes from PR [#3655](https://github.com/py-pdf/pypdf/pull/3655).
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pypdf | < 6.7.2 | 6.7.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pypdf Project | Pypdf | before 6.7.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/py-pdf/pypdf/commit/f0a462d36971cf077d74492a348d0d06fd60ea4d
- https://github.com/py-pdf/pypdf/issues/3654
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-2rw7-x74f-jg35
- https://github.com/advisories/GHSA-2rw7-x74f-jg35
- https://nvd.nist.gov/vuln/detail/CVE-2026-27628