CVE-2026-87732

published 9 Sep 2026 · updated 9 Sep 2026

An issue was discovered in the mirage-crypto package before 2.2.0 for OCaml

6.2MediumCVSS 6.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.2.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OCaml<2.2.02.2.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-87732 severity on Zeptric[![CVE-2026-87732](https://zeptric.io/badge/cve/CVE-2026-87732.svg)](https://zeptric.io/cve/CVE-2026-87732)