pypdf
Affected
- introduced
0, fixed6.7.3(ecosystem)
Fixed versions
6.7.3
Fix
- Fixed version
6.7.3pip install --upgrade pypdf==6.7.3
Advisory
Also known as: CVE-2026-27888, GHSA-x7hp-r3qg-r3cj
pypdf: Manipulated FlateDecode XFA streams can exhaust RAM
Impact
An attacker who uses this vulnerability can craft a PDF which leads to the RAM being exhausted. This requires accessing the xfa property of a reader or writer and the corresponding stream being compressed using /FlateDecode.
Patches
This has been fixed in pypdf==6.7.3.
Workarounds
If projects cannot upgrade yet, consider applying the changes from PR #3658.
Not rated by the source.
0, fixed 6.7.3 (ecosystem)6.7.3
6.7.3pip install --upgrade pypdf==6.7.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0