← VULNERABILITIES

CVE-2026-137937

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

Medium · 6.9Fix available
CVSS
6.9
EPSS
—
Published
2026-11-27
Age
1d old
Modified
2026-11-27
Product
michaelrsweet pdfio
Aliases
GHSA-527h-2p2v-g388

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

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.

Fixed in

1.6.5

Affected packages

EcosystemPackageRangeFixed
vendorpdfio>=0, <1.6.51.6.5

Sources

  • NVD · first seen 1d ago · NVD terms of use
  • OSV · first seen 1d ago · CC-BY 4.0
  • CVE List · first seen 1d ago · CVE Terms of Use

References

JSON