Vulnerability Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.7.3, an attacker who uses this vulnerability can craft a PDF which leads to the RAM being exhausted. This requires accessing the `xfa` property of a reader or writer and the corresponding stream being compressed using `/FlateDecode`. This has been fixed in pypdf 6.7.3. As a workaround, apply the patch manually.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pypdf Project | Pypdf | < 6.7.3 |
Related Weaknesses (CWE)
References
- https://github.com/py-pdf/pypdf/commit/7a4c8246ed48d9d328fb596942271da47b6d109cPatch
- https://github.com/py-pdf/pypdf/pull/3658Issue TrackingPatch
- https://github.com/py-pdf/pypdf/releases/tag/6.7.3ProductRelease Notes
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-x7hp-r3qg-r3cjPatchVendor Advisory
FAQ
What is CVE-2026-27888?
CVE-2026-27888 is a vulnerability with a CVSS score of 7.5 (HIGH). pypdf is a free and open-source pure-python PDF library. Prior to 6.7.3, an attacker who uses this vulnerability can craft a PDF which leads to the RAM being exhausted. This requires accessing the `xf...
How severe is CVE-2026-27888?
CVE-2026-27888 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-27888?
Check the references section above for vendor advisories and patch information. Affected products include: Pypdf Project Pypdf.