# CVE-2026-137937: PDFio before 1.6.5 Out-of-Bounds Read/Write via IV-Only AES-Encrypted Strings

- Severity: Medium 6.9 (CVSS:4.0, scored by AISLE) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-27T13:44:07.992Z
- Modified: 2026-12-01T20:18:55.360Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: AISLE

## 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.

(As written by CVE List.)

## Affected

- michaelrsweet pdfio: before 1.6.5

## Every score

- AISLE: CVSS:4.0 6.9 Medium `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`
- AISLE: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`

## References

- <https://github.com/michaelrsweet/pdfio/security/advisories/GHSA-527h-2p2v-g388>
- <https://github.com/michaelrsweet/pdfio/commit/bb77255b2832c2b35fe502237ac1b452221e74ff>
- <https://github.com/michaelrsweet/pdfio/releases/tag/v1.6.5>
- <https://github.com/michaelrsweet/pdfio>

## Sources

- CVE List: [CVE-2026-137937](https://www.cve.org/CVERecord?id=CVE-2026-137937), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-137937](https://nvd.nist.gov/vuln/detail/CVE-2026-137937), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-137937 · Whole record: https://cve.day/CVE-2026-137937.json · Rebuilt by cve.day 2026-12-01T20:32:42.390Z
