{"id":"DEBIAN-CVE-2026-102997","details":"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.","modified":"2026-10-01T12:00:08.230129878Z","published":"2026-09-30T21:17:07.020Z","upstream":["CVE-2026-102997"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-102997"}],"affected":[{"package":{"name":"pypdf","ecosystem":"Debian:12","purl":"pkg:deb/debian/pypdf?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.4-1","3.4.1-1","3.4.1-1+deb12u1","4.0.0-1","4.0.0-1~exp1","4.0.1-1","4.0.2-1","4.1.0-1","4.2.0-1","4.3.1-1","5.4.0-1","6.19.0-1","6.9.0-1","6.9.2-1","6.9.2-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102997.json"}},{"package":{"name":"pypdf","ecosystem":"Debian:13","purl":"pkg:deb/debian/pypdf?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.0-1","6.19.0-1","6.9.0-1","6.9.2-1","6.9.2-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102997.json"}},{"package":{"name":"pypdf","ecosystem":"Debian:14","purl":"pkg:deb/debian/pypdf?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.0-1","6.19.0-1","6.9.0-1","6.9.2-1","6.9.2-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102997.json"}},{"package":{"name":"pypdf2","ecosystem":"Debian:12","purl":"pkg:deb/debian/pypdf2?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.1-3","2.12.1-3+deb12u1","2.12.1-4"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102997.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}