Live threats

All CVEs / OCaml

CVE-2026-87732OCaml mirage-crypto

Medium 6.2

Priority
37
CVSS 3.1
6.2
EPSS
—
Auth required
Yes
Published
Sep 9, 2026
Updated
Sep 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for mirage-crypto.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.