CVE-2026-33699
HIGH7.5EPSS 0.02%pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream
Published: 3/25/2026Modified: 4/28/2026
Description
pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an attacker can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode. This has been fixed in pypdf 6.9.2. If users cannot upgrade yet, consider applying the changes from the patch manually.
Affected packages (3)
- Debian/pypdffrom 0
- Debian/pypdf2from 0
- PyPI/pypdffrom 0, < 6.9.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-33699
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-33699
- PATCHhttps://github.com/py-pdf/pypdf
- WEBhttps://github.com/py-pdf/pypdf/pull/3693
- WEBhttps://github.com/py-pdf/pypdf/releases/tag/6.9.2
- WEBhttps://github.com/py-pdf/pypdf/security/advisories/GHSA-87mj-5ggw-8qc3