CVE-2026-48156 Details
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.12.0, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires cross-reference streams with /W [0 0 0] values and large /Size values. This vulnerability is fixed in 6.12.0.
A performance-related vulnerability has been identified in pypdf, a pure-Python PDF library, affecting versions prior to 6.12.0. The issue arises when an attacker crafts a PDF that exploits cross-reference streams with specific width values and large size attributes, leading to prolonged processing times. This vulnerability has been addressed in version 6.12.0.
Users can upgrade to pypdf version 6.12.0 or later to address this vulnerability. If an immediate upgrade is not possible, the changes from PR #3791 can be applied as a temporary workaround.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/py-pdf/pypdf/pull/3791 | [email protected] | Issue TrackingPatch |
| https://github.com/py-pdf/pypdf/releases/tag/6.12.0 | [email protected] | Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-248m-82v9-q6g6 | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-834 | Excessive Iteration | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pypdf project pypdf | < 6.12.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 29, 2026 | Initial Analysis | [email protected] |
| May 28, 2026 | New CVE Received | [email protected] |