CVE-2026-87732 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...
MediumCVSS 6.2
EPSS 0.11%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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
| Product | Affected versions | Fixed in |
|---|---|---|
| opam mirage-crypto | < 2.2.0 | 2.2.0 |
| debian/ocaml-mirage-crypto(Debian:12) | All versions | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 0.10.7-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 0.11.1-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 0.11.1-2 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 0.11.1-3 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 0.11.2-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 0.11.2-2 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 0.11.3-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 1.1.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 1.1.0-2 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.0.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.0.1-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.0.2-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.0.3-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.1.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.2.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.2.0-2 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.3.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.4.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:12) | = 2.4.1-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | All versions | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | = 2.0.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | = 2.0.1-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | = 2.0.2-1 | No fix listed |
Show 17 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ocaml-mirage-crypto(Debian:13) | = 2.0.3-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | = 2.1.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | = 2.2.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | = 2.2.0-2 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | = 2.3.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | = 2.4.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:13) | = 2.4.1-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:14) | < 2.2.0-1 | 2.2.0-1 |
| debian/ocaml-mirage-crypto(Debian:14) | = 2.0.0-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:14) | = 2.0.1-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:14) | = 2.0.2-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:14) | = 2.0.3-1 | No fix listed |
| debian/ocaml-mirage-crypto(Debian:14) | = 2.1.0-1 | No fix listed |
| ubuntu/ocaml-mirage-crypto(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ocaml-mirage-crypto(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ocaml-mirage-crypto(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/ocaml-mirage-crypto(Ubuntu:26.10) | All versions | No fix listed |
References
- osv.dev exploit
- Debian Security Tracker CVE-2026-87732 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org