Resource exhaustion in PyPDF - #VU170620

 

Resource exhaustion in PyPDF - #VU170620

Published: November 26, 2026


Vulnerability identifier: #VU170620
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 deny service.

The vulnerability exists due to insufficient limits on lookup table size in pypdf image processing when loading images that use the /Indexed color space. A remote attacker can induce a victim to process a malicious PDF containing such images to consume excessive memory.


Affected software

PyPDF

Remediation

Install security update from vendor's website.

PyPDF - update to 7.2.0

External References

Related Security Bulletins