Skip to content
Heist/ feed
High

pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-102997

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-102997

pypdf

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "py-pdf",
    "product": "pypdf",
    "versions": [
      {
        "status": "affected",
        "version": "< 6.18.1"
      }
    ]
  }
]
Related CVEs
CVE-2026-102997

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#8038 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement