CVE-2026-137937
PDFio before 1.6.5 Out-of-Bounds Read/Write via IV-Only AES-Encrypted Strings
Medium · 6.9Fix available
- CVSS
- 6.9
- EPSS
- —
- Published
- 2026-11-27
- Age
- 1d old
- Modified
- 2026-11-27
- Product
- michaelrsweet pdfio
- Aliases
- GHSA-527h-2p2v-g388
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
1.6.5
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | pdfio | >=0, <1.6.5 | 1.6.5 |
Sources
- NVD · first seen 1d ago · NVD terms of use
- OSV · first seen 1d ago · CC-BY 4.0
- CVE List · first seen 1d ago · CVE Terms of Use
References
- https://github.com/michaelrsweet/pdfio/security/advisories/GHSA-527h-2p2v-g388 other
- https://github.com/michaelrsweet/pdfio/commit/bb77255b2832c2b35fe502237ac1b452221e74ff other
- https://github.com/michaelrsweet/pdfio/releases/tag/v1.6.5 other
- https://github.com/michaelrsweet/pdfio other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137937.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-137937 advisory