Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pypdf Project | Pypdf | < 6.7.4 |
Related Weaknesses (CWE)
References
- https://github.com/py-pdf/pypdf/commit/f309c6003746414dc7b5048c19e6d879ff2dc858Patch
- https://github.com/py-pdf/pypdf/pull/3664Issue TrackingPatch
- https://github.com/py-pdf/pypdf/releases/tag/6.7.4Release Notes
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-f2v5-7jq9-h8cgPatchVendor Advisory
FAQ
What is CVE-2026-28351?
CVE-2026-28351 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 co...
How severe is CVE-2026-28351?
CVE-2026-28351 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-28351?
Check the references section above for vendor advisories and patch information. Affected products include: Pypdf Project Pypdf.