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

Summary

CVECVE-2026-137937
StatePUBLISHED
AssignerAISLE
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-27 14:17:04 UTC
Updated2026-11-27 14:17:04 UTC
DescriptionPDFio 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.

Risk And Classification

Primary CVSS: v4.0 6.9 MEDIUM from 1a4f025a-074d-4105-b4e2-52bd8eabe2ea

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-191 | CWE-191 Integer Underflow (Wrap or Wraparound)


VersionSourceTypeScoreSeverityVector
4.01a4f025a-074d-4105-b4e2-52bd8eabe2eaSecondary6.9MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/C...
4.0CNADECLARED6.9MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
3.11a4f025a-074d-4105-b4e2-52bd8eabe2eaSecondary6.1MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
3.1CNADECLARED6.1MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

CVSS v4.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Confidentiality
None
Integrity
Low
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Michaelrsweet Pdfio affected 1.6.5 semver Not specified

References

ReferenceSourceLinkTags
github.com/michaelrsweet/pdfio/commit/bb77255b2832c2b35fe502237ac1b45222... 1a4f025a-074d-4105-b4e2-52bd8eabe2ea github.com
github.com/michaelrsweet/pdfio/security/advisories/GHSA-527h-2p2v-g388 1a4f025a-074d-4105-b4e2-52bd8eabe2ea github.com
github.com/michaelrsweet/pdfio 1a4f025a-074d-4105-b4e2-52bd8eabe2ea github.com
github.com/michaelrsweet/pdfio/releases/tag/v1.6.5 1a4f025a-074d-4105-b4e2-52bd8eabe2ea github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Joshua Rogers (AISLE Research) (en)

CNA: Michael R Sweet (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report