CVE-2026-59935
HIGH 8.7CVSS 4.0pypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.2, an attacker can craft a PDF with a page content stream containing a not terminated inline image that uses the ASCII85 or ASCIIHex filters, causing an infinite loop during parsing such as when extracting page text. This issue is fixed in version 6.14.2.
- Published
- 8 Jul 2026
- Last modified
- 2 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-835
- Also known as
- GHSA-g867-7843-wf8qPYSEC-2026-3613
- Sources
- NVDJSONOSV GHSA-g867-7843-wf8qJSONOSV PYSEC-2026-3613JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | py-pdf | pypdfcpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:* |
< 6.14.2 | 6.14.2 |
| OSV | PyPI | pypdf | < 6.14.2 | 6.14.2 |
References
- https://github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2 · Patch, WEB
- https://github.com/py-pdf/pypdf/pull/3892 · Issue Tracking, Patch, WEB
- https://github.com/py-pdf/pypdf/releases/tag/6.14.2 · Product, Release Notes, WEB
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-g867-7843-wf8q · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59935 · ADVISORY
- https://github.com/py-pdf/pypdf · PACKAGE
- https://pypi.org/project/pypdf · PACKAGE
- https://github.com/advisories/GHSA-g867-7843-wf8q · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Jul 2026)