CVE-2026-87732

MEDIUM CVSS 3.1: 6.2 EPSS 0.11%
Updated Sep 09, 2026
Ocaml
Parameter Value
CVSS 6.2 (MEDIUM)
Affected Versions before 2.2.0
Type CWE-347 (Improper Verification of Cryptographic Signature)
Vendor Ocaml
Public PoC No

An issue was discovered in the mirage-crypto package before 2.2.0 for OCaml. The AES.GCM.authenticate_decrypt_into and Chacha20.authenticate_decrypt_into functions write the decrypted plaintext into a caller-provided buffer and only then compares the tag. On a forged tag, the functions returns false, but the destination buffer already holds the full plaintext.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products

ocaml:mirage-crypto

Related Vulnerabilities