Skip to main content
← All vulnerabilities
CVE-2026-87732

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OCaml mirage-crypto

    fixed in 2.2.0

References 1

osv.dev