SB20261119133 - Multiple vulnerabilities in PyPDF
Published: November 19, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 5 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 trigger excessive memory consumption that may disrupt PDF processing.
The vulnerability exists due to uncontrolled memory consumption in pypdf's page-label handling when processing large label prefixes. A remote attacker can supply a crafted PDF to trigger excessive memory use when the recipient accesses its page labels.
2) Inefficient Algorithmic Complexity (CVE-ID: N/A)
CWE-ID: CWE-407 - Inefficient Algorithmic Complexity
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 trigger excessive memory consumption that may cause a denial of service.
The vulnerability exists due to inefficient algorithmic complexity in pypdf's ASCIIHexDecode filter when decoding a PDF stream. A remote attacker can supply a crafted PDF to trigger excessive memory consumption when an application accesses the affected stream.
3) Resource exhaustion (CVE-ID: N/A)
CWE-ID: CWE-400 - Resource exhaustion
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 cause excessive memory consumption, potentially resulting in a denial of service.
The vulnerability exists due to uncontrolled memory consumption in pypdf's inline image parser when it uses the fallback path to process a PDF content stream. A remote attacker can supply a crafted PDF for processing to cause excessive memory consumption.
4) 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, potentially disrupting PDF processing.
The vulnerability exists due to unnecessary retention of cross-reference stream contents in memory in the pypdf parser when it opens a PDF containing many such streams. A remote attacker can supply a crafted PDF that causes the parser to consume excessive memory when the file is opened.
5) 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 bypass cross-reference stream entry limits, potentially causing excessive resource consumption and a denial of service.
The vulnerability exists due to overly broad exception handling in pypdf's cross-reference parser, which suppresses errors raised when the parser encounters a stream that exceeds the entry limit in a hybrid cross-reference table. A remote attacker can induce a victim to open a crafted PDF to bypass the entry limit.
Remediation
Install update from vendor's website.
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-J9R2-RV26-5QV2
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-CQPQ-3WWR-F5P2
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-7F8R-XHW3-553H
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-5CHG-C4F3-FW2P
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-P3V2-R3FX-QPM6