Py-pdf pypdf
pypdf manipulated LZWDecode streams can exhaust RAM
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 large memory usage. This requires parsing the content stream of a page using the LZWDecode 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-409
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/3502
- Patch github.com/py-pdf/pypdf/commit/e51d07807ffcdaf…
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.