CVE-2026-113794

Medium

Description

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.

SeverityMedium
CVSS6.0
Exploit probability29. percentile0.4%
ProductPypdf
PublishedOct 21, 2026
First seenOct 21, 2026
Weakness typeCWE-835CWE-835

How to fix

Update
  • pypdf6.20.0 or later
  • py-pdf pypdf6.20.0 or later

Affected products

ProductAffected versionsFixed in
pypdfPyPIv < 6.20.06.20.0
py-pdf pypdfv < 6.20.06.20.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.