CVE-2026-54531
MEDIUM
6.9
CVSS 4.0
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.13.0, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires merging a file with outlines into a writer. This vulnerability is fixed in 6.13.0.
Metadata
Severity & Metrics
6.9
MEDIUM CVSS 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
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| py-pdf | pypdf | — | < 6.13.0 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-835 | cna | CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.9 | MEDIUM | 4.0 | cna | 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 |
References (3)
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-m2v9-299j-rv96 https://github.com/py-pdf/pypdf/security/advisories/GHSA-m2v9-299j-rv96
- https://github.com/py-pdf/pypdf/pull/3830 https://github.com/py-pdf/pypdf/pull/3830
- https://github.com/py-pdf/pypdf/releases/tag/6.13.0 https://github.com/py-pdf/pypdf/releases/tag/6.13.0