CVE-2026-137937

medium

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.

References

https://github.com/michaelrsweet/pdfio/security/advisories/GHSA-527h-2p2v-g388

https://github.com/michaelrsweet/pdfio/releases/tag/v1.6.5

https://github.com/michaelrsweet/pdfio/commit/bb77255b2832c2b35fe502237ac1b452221e74ff

https://github.com/michaelrsweet/pdfio

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137249

Details

Source: Mitre, NVD

Published: 2026-11-27

Updated: 2026-11-27

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 6.1

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Severity: Medium

CVSS v4

Base Score: 6.9

Vector: 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

Severity: Medium

EPSS

EPSS: 0.00213