GHSA-5hgr-hg42-57jgMedium

pypdf: Inefficient decoding of FlateDecode PNG predictor streams

Published
June 16, 2026
Last Modified
June 16, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • pip/pypdf:< 6.12.2

🔗 References (4)