Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft AES-encrypted PDF with IV-only value
-
DeliveryDeliver file to pdfio-based application
-
ExploitVictim opens file via pdfioFileOpen()
-
ExecutionPadding strip underflows length to SIZE_MAX
-
Persistmemcpy out-of-bounds read/write
-
ImpactProcess crash or heap corruption
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Exploitation Conditions | Exploitation requires that the targeted application use pdfio (versions before 1.6.5) to open an untrusted, AES-128-encrypted PDF, and that the crafted file contain an AES-encrypted string or binary value of exactly 16 bytes (the IV alone, with no ciphertext block) nested in a parsed object dictionary such as the catalog. The underflow additionally depends on the byte at outbuffer[-1] being <= 0x10, though the published PoC triggers it reliably. The flaw is reached automatically during pdfioFileOpen() with no further API calls. LIMITING FACTORS: it is local/file-delivered (AV:L) and requires victim action to open the malicious file (UI:P); it only affects deployments that pass attacker-controlled AES-encrypted PDFs to pdfio, and only the pre-1.6.5 code. No network service is exposed. |
| Impact | This is a real but moderate-priority memory-corruption flaw rather than a high-urgency network threat. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H, score 6.9 Medium) correctly models a local, file-delivered attack: there is no network-reachable service, and exploitation hinges on a victim opening an attacker-supplied PDF (UI:P). The GHSA advisory contains a verified, ASan-confirmed proof-of-concept, so exploit knowledge is public, but there is NO CISA KEV listing and NO EPSS score was supplied, so there is no evidence of active or widespread exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a serious-but-not-emergency triage. The primary demonstrated impact is a reliable crash/DoS (VA:H); the advisory notes that OOB heap read followed by a near-SIZE_MAX memcpy write 'may allow further exploitation depending on heap layout', but code execution is speculative and not demonstrated - do not treat it as confirmed RCE. Note one data conflict to verify: the CVSS 4.0 vector is AV:L while the mechanism is 'open a crafted file', which is appropriate, but defenders automating off AV should not mistake this for remotely triggerable without user action. |
| Exploit ScenarioDerived | An attacker crafts an AES-128-encrypted PDF in which a string or binary value in an object dictionary (e.g. the document catalog) is truncated to exactly its 16-byte IV with no ciphertext, then delivers it to a victim or a backend service that uses pdfio. The moment the file is opened with pdfioFileOpen(), padding stripping underflows the unsigned length to near SIZE_MAX and that value flows into memcpy, causing an out-of-bounds heap read/write that crashes the process or corrupts memory. A verified, ASan-confirmed proof-of-concept (gen/patch/driver harness) is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
Memory corruption in PDFio before 1.6.5 lets a crafted AES-128-encrypted PDF crash or corrupt the heap of any application that opens it with pdfioFileOpen(). An integer underflow in the AES-CBC decryption path turns a 16-byte, IV-only encrypted string or binary value into a memcpy of close to SIZE_MAX bytes, and it is reached automatically while the document's cross-reference and object dictionaries are parsed - no further API calls are needed from the caller. The upstream advisory publishes a proof-of-concept that was verified to abort under AddressSanitizer; there is no CISA KEV listing and no confirmed active exploitation, and the assessed vector is local (AV:L) with victim interaction (UI:R), so this is a real but moderate-priority memory-corruption bug rather than a network-facing emergency.
RemediationAI
Upgrade to PDFio 1.6.5 or later, which contains the upstream fix commit bb77255b2832c2b35fe502237ac1b452221e74ff (early return when the decryption length is zero, and padding stripped only when outbytes > 0); the release is published at https://github.com/michaelrsweet/pdfio/releases/tag/v1.6.5 and the contributor advisory is GHSA-527h-2p2v-g388. Because the vulnerable code is a compiled C library, rebuilding every application or product that statically embeds pdfio is required - replacing a shared library alone is insufficient for vendored or bundled copies, and downstream distributors that still show the package as unpatched have to be tracked separately. Until a rebuild is possible, the only reliable compensating control that follows from the exploitation conditions is to avoid feeding untrusted AES-encrypted PDFs to pre-1.6.5 builds - for example by rejecting or quarantining password-protected/AES-encrypted uploads, or by processing untrusted PDFs in a sandboxed, low-privilege worker that can be safely restarted - since unencrypted and RC4-encrypted files do not reach the vulnerable routine; the trade-off is lost functionality for legitimately encrypted documents. Scanning inbound PDFs for AES-encrypted values that decode to exactly 16 bytes prior to any pdfioFileOpen() call is possible in principle but requires a PDF parser, so it is fragile compared with upgrading.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PDFio is a small C library for reading and writing PDF files, and it implements the PDF standard security handler for RC4 and AES-128 encryption. In an AES-encrypted PDF, string and binary values are stored as a 16-byte initialization vector followed by AES-CBC ciphertext blocks, with PKCS#7 padding on the final block. _pdfioCryptoAESDecrypt() in pdfio-aes.c assumed that at least one 16-byte ciphertext block had been decrypted before it stripped that padding: when called with last=true it unconditionally read outbuffer[-1] and subtracted the value from outbytes. _pdfioCryptoMakeReader() (pdfio-crypto.c) only required an AES-128 value to be at least 16 bytes - enough for the IV - and never required ciphertext beyond it, so _pdfioValueDecrypt() (pdfio-value.c) could pass len = datalen - ivlen = 0 with last=true. The decryption loop never runs, outbytes stays 0, outbuffer never advances, and the padding check reads one byte before the output buffer; if that adjacent heap byte is <= 0x10, the unsigned size_t underflows to a value near SIZE_MAX. Callers trust the returned length directly (memcpy into v->value.binary.data for binary values, temp[templen] = '\0' for strings), producing an out-of-bounds heap read followed by an enormous write. This is CWE-191 (integer underflow), reached through pdfioFileOpen() -> load_xref() -> pdfioObjGetDict() -> _pdfioObjLoad() -> _pdfioValueDecrypt() -> _pdfioDictDecrypt(). The upstream fix (commit bb77255b2832c2b35fe502237ac1b452221e74ff, released in v1.6.5) adds an early return when len == 0 and changes the padding strip to if (last && outbytes > 0).
Know when Pdfio gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
File must be opened by the victim, so AV:L and UI:R; no auth needed (PR:N); reliable crash gives A:H, heap OOB write gives I:L, no confidentiality disclosure path so C:N.
Primary rating from Vendor (AISLE).
CVSS VectorVendor: AISLE
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
PDFio is a C library for reading and writing PDF files. Rated medium severity (CVSS 6.5), this vulnerability is remotely
PDFio is a simple C library for reading and writing PDF files. Rated medium severity (CVSS 5.5), this vulnerability is n
Cross-tenant document content corruption in PDFio before 1.6.5 allows low-privileged network attackers to silently overw
PDFio is a C library for reading and writing PDF files. Rated low severity (CVSS 3.3), this vulnerability is no authenti
EUVD-2026-137249
GHSA-8vvg-4p6q-69x4
NVD
CVE.org
EPSS
Exploit-DB