Read the docs

Integer underflow in PDFio AES decryption causes out-of-bounds memory access

Priority LOW 30CWE-191Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

PDFio before 1.6.5 contains an integer underflow (CWE-191) in _pdfioCryptoAESDecrypt(), 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. A local user with low privileges can supply a crafted AES-encrypted PDF file that, when opened with pdfioFileOpen(), makes the decrypted length underflow and causes out-of-bounds reads and writes. The result is a crash of the application or corruption of heap memory.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00213 6th percentileScored 2026-11-30
Fix Fixed pdfio (michaelrsweet): 1.6.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
michaelrsweetpdfiobefore 1.6.51.6.5Patch availableCNA
  • pdfio Vendormichaelrsweet Affected before 1.6.5 Fixed in 1.6.5 Patch available CNA

Remediation

The fixed version for pdfio is 1.6.5. The sources list no fixed version for pdfio other than 1.6.5.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA pdfio (michaelrsweet) Fixed in 1.6.5

Timeline

  1. 2026-11-27 Threatist record created from CVE-2026-137937
  2. 2026-11-27 Alias added: GHSA-8vvg-4p6q-69x4

References

  • TI-2026-76283 Use after free in michaelrsweet mxml mxml_load_data CVSS 4.0MEDIUM 5.1
  • TI-2026-74098 Off-by-one stack out-of-bounds write in Mini-XML mxml_strtod() CVSS 4.0LOW 2.0
  • TI-2026-53919 PDFio < 1.6.5 Dangling Pointer via Dictionary String-Formatting CVSS 4.0HIGH 7.1

Sources