Py-pdf pypdf
pypdf affected by possible infinite loop when reading DCT inline images without EOF marker
pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-834
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
py-pdf pypdf
- < 6.1.3
Fixed in 6.1.3
Mitigation
Upgrade pypdf to 6.1.3 or later.
References
- Vendor advisory github.com/py-pdf/pypdf/security/advisories/GH…
- Patch github.com/py-pdf/pypdf/pull/3501
- Patch github.com/py-pdf/pypdf/commit/f2864d6dd9bac7c…
1 more
- Release notes github.com/py-pdf/pypdf/releases/tag/6.1.3
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.