PDFio before 1.6.5 Out-of-Bounds Read/Write via IV-Only AES-Encrypted Strings
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| michaelrsweetpdfio |
< 1.6.5→ 1.6.5 |
1.6.5 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-137937 pdfio Fix available
- Ubuntu UBUNTU-CVE-2026-137937 pdfio No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com