GHSA-8vvg-4p6q-69x4MediumCVSS 6.1
PDFio before 1.6.5 contains an integer underflow in _pdfioCryptoAESDecrypt() in pdfio-aes.c,...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (6)
- https://github.com/michaelrsweet/pdfio/security/advisories/GHSA-527h-2p2v-g388
- https://nvd.nist.gov/vuln/detail/CVE-2026-137937
- https://github.com/michaelrsweet/pdfio/commit/bb77255b2832c2b35fe502237ac1b452221e74ff
- https://github.com/michaelrsweet/pdfio
- https://github.com/michaelrsweet/pdfio/releases/tag/v1.6.5
- https://github.com/advisories/GHSA-8vvg-4p6q-69x4