CVE-2026-137937 PUBLISHED

PDFio before 1.6.5 Out-of-Bounds Read/Write via IV-Only AES-Encrypted Strings

Assigner: AISLE
Reserved: 27.11.2026 Published: 27.11.2026 Updated: 27.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 6.9

Product Status

Vendor michaelrsweet
Product pdfio
Versions Default: unaffected
  • affected from 0 to 1.6.5 (excl.)

Credits

  • Joshua Rogers (AISLE Research) finder
  • Michael R Sweet remediation developer

References

Problem Types

  • Integer Underflow (Wrap or Wraparound) CWE