GitHub Advisory Database
GHSA-5hgr-hg42-57jg
pypdf: Inefficient decoding of FlateDecode PNG predictor streams
Details
Impact
An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires accessing a stream which uses the /FlateDecode filter with a PNG predictor.
Patches
This has been fixed in pypdf==6.12.2.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #3806.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pypdf | All versions before 6.12.2 (fixed in 6.12.2) |