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

State
Published
Severity
6.9 Medium
Published
Nov 27, 2026
Updated
Nov 27, 2026
Reserved
Nov 27, 2026

Read the record on cve.org

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.

ProductVersions
pdfio michaelrsweetbefore 1.6.5 Affected

Weaknesses

  • CWE-191 Integer Underflow (Wrap or Wraparound)

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.