What’s Vulnerable › Vulnerabilities
CVE-2026-87732
- Severity: medium (CVSS 6.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-09 · updated 2026-09-09
- Weakness: CWE-347
Description
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.
Affected products
- OCaml mirage-crypto: before 2.2.0 — fixed in 2.2.0
How to fix
Upgrade to a fixed version: OCaml mirage-crypto 2.2.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-87732 or the next vulnerability affects your stack