SB20261126124 - Multiple vulnerabilities in PyPDF
Published: November 26, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Resource exhaustion (CVE-ID: N/A)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: 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]
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.
2) Resource exhaustion (CVE-ID: N/A)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: 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]
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.
3) Uncontrolled Memory Allocation (CVE-ID: N/A)
CWE-ID: CWE-789 - Uncontrolled Memory Allocation
CVSSv4: 6.7 [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]
The vulnerability allows a remote attacker to consume excessive memory and potentially cause a denial of service.
The vulnerability exists due to excessive memory allocation in pypdf's character map parser when it splits input before checking entry sizes. A remote attacker can provide a crafted PDF for processing to consume excessive memory when its character maps are loaded.
Remediation
Install update from vendor's website.