CVE-2026-27628
pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams
- State
- Published
- Severity
- 1.2 Low
- Published
- Feb 25, 2026
- Updated
- Feb 27, 2026
- Reserved
- Feb 20, 2026
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. This has been fixed in pypdf 6.7.2. As a workaround, one may apply the patch manually.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 1.2 Low | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U | GitHub_M |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
Affected Products
| Product | Versions |
|---|---|
pypdfpy-pdf |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.