[ CVE-2026-102997 · Published 30 Sep 2026 ]
pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)
CVSS 7.5
EPSS <1%Fix available
[ Description ]Official description
pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF containing a partially malformed /FlateDecode stream with padded data can force pypdf/filters.py to use inefficient byte-by-byte decompression while the earlier recovery counter fails to advance for bytes that successfully decode, causing long runtimes and application unavailability. This is a residual issue after the malformed FlateDecode recovery fix. This issue is fixed in version 6.18.1.
[ Fixes ]Fixes and patches
- pypdf 6.18.1Fixed version · GitHub Advisories · pip package pypdf: upgrade to 6.18.1 or later (affected < 6.18.1)
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ Packages ]Affected open-source packages
- pypdf pipAffected < 6.18.1 · fixed in 6.18.1 · GHSA-jw7q-gvrg-4vj3