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

Published Nov 27, 2026
·
Updated

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.

Affected Software

1 affected component
PDFio PDFio<1.6.5

Event History

Nov 27, 2026
CVE Published
via MITRE·01:44 PM
Data Sourced
via MITRE·01:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeakness
Event
via NVD·02:17 PM

Frequently Asked Questions

1

Which deployments are exposed?

Applications using PDFio versions before 1.6.5 are exposed if they open crafted AES-encrypted PDFs. The affected path is reached when the file is opened with pdfioFileOpen().

2

What must an attacker provide to trigger the issue?

The attacker must supply a specially crafted AES-encrypted PDF containing an encrypted string or binary value that consists only of the 16-byte initialization vector. Processing that PDF can cause an out-of-bounds read and write, resulting in a crash or heap-memory corruption.

3

What is the remediation?

Upgrade PDFio to version 1.6.5 or later. The referenced fix addresses the integer underflow that occurs while handling PKCS#7 padding before an AES block has been decrypted.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203