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

Published Updated

A crafted AES-encrypted PDF can trigger out-of-bounds read/write in PDFio, crashing or corrupting heap memory in applications opening it.

CVSS score

Medium

6.9/10

CVSS 4.0 · Scored by AISLE Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
1.6.5
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-137937?

CVE-2026-137937 is a medium-severity integer overflow vulnerability in michaelrsweet pdfio, published on 27 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-191

How severe is CVE-2026-137937?

CVE-2026-137937 scores 6.9 out of 10 under CVSS 4.0, which is medium severity. It was scored by AISLE.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
Low
Availability
High

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

Which versions are affected by CVE-2026-137937?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-137937?

Upgrade michaelrsweet pdfio to 1.6.5 or later. The advisory says that version fixes it.

Upgrade to the fixed version. Check arithmetic on sizes and lengths before using the result. More about Integer overflow.

Is CVE-2026-137937 being exploited?

There is no known exploitation of CVE-2026-137937 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-137937, GHSA-527h-2p2v-g388, GHSA-8vvg-4p6q-69x4.

Is CVE-2026-137937 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free