Resource exhaustion in PyPDF - #VU161872

 

Resource exhaustion in PyPDF - #VU161872

Published: November 8, 2026


Vulnerability identifier: #VU161872
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: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated attacker to cause large memory consumption when pypdf loads images from a crafted PDF.

The vulnerability exists due to missing data size limits in certain image filters used by pypdf during image loading. An unauthenticated attacker can craft a PDF containing images that use these filters and trigger excessive memory allocation when an application loads those images.


Affected software

PyPDF

Remediation

Install security update from vendor's website.

PyPDF - update to 7.0.0

External References

Related Security Bulletins