pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code or destination-string tokens in a font /ToUnicode CMap during text extraction. This issue is fixed in 6.15.0.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-400"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71870.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.15.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "afba8080e19d29a3c256a742b340995e695b35aa"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "6.15.0",
"range": [
{
"fixed": "7f226a2771da4b71ed0b72d414f0e59d76a3dae9"
}
],
"source": "REFERENCES_TAG"
}
]
}