Skip to content
Heist/ feed
Medium

pypdf: Possible infinite loop when hitting EOF in standard xref table

Type: advisorySource: Official CVE List1 source record

pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, an attacker can craft an incomplete PDF that ends inside a standard cross-reference table, causing pypdf to mishandle the unexpected end of file and enter an infinite loop. This issue is fixed in version 6.20.0.

Announced Group revision 1
Original source ↗

CVE-2026-113794

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-113794

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.20.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-113794

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

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