PDFio before 1.6.5 contains an integer underflow in _pdfioCryptoAESDecrypt() in pdfio-aes.c, which strips PKCS#7 padding before any AES block has been decrypted when an AES-encrypted string or binary value holds only its 16-byte IV. Attackers can supply a crafted AES-encrypted PDF that, when opened with pdfioFileOpen(), makes the decrypted length underflow so that _pdfioValueDecrypt() reads and writes out of bounds, crashing the application or corrupting heap memory.
{
"cna_assigner": "AISLE",
"cwe_ids": [
"CWE-191"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137937.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.6.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "bb77255b2832c2b35fe502237ac1b452221e74ff"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.6.5",
"range": [
{
"fixed": "5102eddff28d9b605f3e6783d50ad380f61f692e"
}
],
"source": "REFERENCES_TAG"
}
]
}