Uncontrolled Memory Allocation in PyPDF - #VU135042

 

Uncontrolled Memory Allocation in PyPDF - #VU135042

Published: June 23, 2026


Vulnerability identifier: #VU135042
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-789
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Pypdf Project
Affected software:
PyPDF

Detailed vulnerability description

The vulnerability allows a remote attacker to cause excessive memory consumption.

The vulnerability exists due to memory allocation with excessive size value in the image handling logic when parsing a crafted PDF containing images with declared size values much larger than the actual data. A remote attacker can supply a specially crafted PDF to cause excessive memory consumption.


Remediation

Install security update from vendor's website.

Sources