Home › CVE › Vulnerabilities
CVE-2026-137937 — michaelrsweet pdfio
Summary
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.
Severity breakdown
Medium · 6.9
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, low on integrity, none on confidentiality
- Impact on other systems
- none
Weakness
- CWE-191: Integer Underflow (Wrap or Wraparound)
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| michaelrsweet pdfio | < 1.6.5 | 1.6.5 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/michaelrsweet/pdfio/commit/bb77255b2832c2b35fe502237ac1b4522…
- github.com/michaelrsweet/pdfio/releases/tag/v1.6.5
Other references
Affected
- michaelrsweet pdfio
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-137937?
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. Weakness type: Integer Underflow (Wrap or Wraparound) (CWE-191).
How severe is CVE-2026-137937?
CVE-2026-137937 has a CVSS 4.0 base score of 6.9 (medium), from the CNA. An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-137937 being exploited?
Not as far as is known: CVE-2026-137937 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-137937?
michaelrsweet pdfio < 1.6.5 (fixed in 1.6.5).
How do I fix CVE-2026-137937?
Update to a fixed release: michaelrsweet pdfio 1.6.5.