CVE-2026-41314

pypdf: Manipulated FlateDecode image dimensions can exhaust RAM

MEDIUM
6.5
CVSS Score
Published: April 22, 2026 at 09:08 PM UTC
Updated: June 17, 2026 at 10:46 AM UTC
2 products affected across 2 vendorsPypdfPypdf

Using pypdf by py-pdf?

Get instant alerts when new vulnerabilities affect pypdf - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to the RAM being exhausted. This requires accessing an image using `/FlateDecode` with large size values. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the patch manually.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.10.2
Affected range stops below 6.10.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (4)

x_refsource_CONFIRMPatchVendor Advisory
Source: cverecord
https://github.com/py-pdf/pypdf/security/advisories/GHSA-x284-j5p8-9c5p
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/py-pdf/pypdf/pull/3734
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/py-pdf/pypdf/releases/tag/6.10.2

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-789

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card