Technical impact
PDFio before version 1.6.5 contains an integer underflow in the decryption routine when handling AES‑encrypted strings or binary values that contain only a 16‑byte initialization vector (IV). The underflow causes the code to strip PKCS#7 padding before any AES block has been decrypted, leading to an out‑of‑bounds read and write within _pdfioValueDecrypt(). As a result, an attacker can trigger a crash or corrupt heap memory, causing the application to become unavailable or behave unpredictably. The weakness is a classic example of CWE‑191.
Affected Systems
The vulnerability affects the commercial product PDFio by Michael R Sweet. All releases before 1.6.5 are susceptible; version 1.6.5 and later include the fix.
Risk and Exploitability
The CVSS score of 6.9 indicates a moderate risk. No EPSS score is currently reported, and the issue is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply a crafted AES‑encrypted PDF file that the application opens with pdfioFileOpen(). The likely attack vector is local file handling: an end‑user (or malicious file in a shared location) opens the vulnerable PDF, triggering the vulnerable decryption path and leading to denial of service or memory corruption. The vulnerability does not appear to expose network or remote code execution paths at this time.