CVE-2026-28351 Details
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.4, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream using the RunLengthDecode filter. This has been fixed in pypdf 6.7.4. As a workaround, consider applying the changes from PR #3664.
A memory exhaustion vulnerability has been identified in the pypdf library, prior to version 6.7.4. This issue arises when the RunLengthDecode filter is used to parse PDF content streams, allowing an attacker to craft a PDF that causes excessive memory usage. The vulnerability has been addressed in pypdf version 6.7.4, and users unable to upgrade can apply the changes from PR #3664 as a temporary workaround.
Users should upgrade to pypdf version 6.7.4 or later. Instructions for downloading this version are available on the pypdf GitHub releases page.
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 Mar 3, 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/commit/f309c6003746414dc7b5048c19e6d879ff2dc858 | [email protected] | Patch |
| https://github.com/py-pdf/pypdf/pull/3664 | [email protected] | Issue TrackingPatch |
| https://github.com/py-pdf/pypdf/releases/tag/6.7.4 | [email protected] | Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-f2v5-7jq9-h8cg | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pypdf project pypdf | < 6.7.4 |
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 |
| Mar 3, 2026 | Initial Analysis | [email protected] |
| Feb 27, 2026 | New CVE Received | [email protected] |