Resource exhaustion in PyPDF - #VU170619

 

Resource exhaustion in PyPDF - #VU170619

Published: November 26, 2026


Vulnerability identifier: #VU170619
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-400
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause excessive memory consumption and potentially degrade application availability.

The vulnerability exists due to uncontrolled memory consumption in pypdf's embedded-file handling when loading PDF attachments, particularly through the dictionary-based API, which retrieves all attachment contents without an upper limit. A remote attacker can supply a crafted PDF whose attachments are loaded by the receiving application to consume excessive memory and potentially degrade application availability.


Affected software

PyPDF

Remediation

Install security update from vendor's website.

PyPDF - update to 7.2.0

External References

Related Security Bulletins