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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-400"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27888.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.7.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "7a4c8246ed48d9d328fb596942271da47b6d109c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "6.7.3",
"range": [
{
"fixed": "05e6d3c03deaec6b16b53825465537ac9e7a1a14"
}
],
"source": "REFERENCES_TAG"
}
]
}