All reports
Medium

pypdf: Inefficient decoding of FlateDecode PNG predictor streams

Affected versions

Version ranges need review.

PyPIpypdf
Affected versions
< 6.12.2
Fixed version
6.12.2
PyPIpypdf
Affected versions
<6.12.2
Fixed version
6.12.2

Exploitation

CVE-2026-49460

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-22

Description

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.

Links

Credits

  • manop55555
  • stefan6419846