CVE-2026-113791

Medium

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.

SeverityMedium
CVSS6.0
Exploit probability—
ProductPypdf
PublishedOct 21, 2026
First seenOct 21, 2026

How to fix

Affected products

ProductAffected versionsFixed in
pypdfPyPIv < 6.21.06.21.0
py-pdf pypdfv < 6.21.06.21.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.