CVE-2026-87732Ocaml Mirage-crypto improper verification of cryptographic signature
CVSS score
6.2
Medium
CVSS 3.1 from mitre.org
Exploit probability (EPSS)
0.11%
0.11% chance of exploitation in the next 30 days, higher than 1.14% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: cve@mitre.org
How to fix it, step by step
Check whether you're affected
Find every system running OCaml Mirage-crypto and compare its version with the affected versions.
Update to a fixed version
- Update Mirage-crypto to 2.2.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected products
| Affected products | Versions |
|---|---|
| OCaml Mirage-crypto | < 2.2.0 |
Weakness
- CWE-347 improper verification of cryptographic signature
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-87732 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-87732?
CVE-2026-87732 has a CVSS 3.1 base score of 6.2 (medium).
Which versions are affected?
Ocaml Mirage-crypto (< 2.2.0)
Is there a patch for CVE-2026-87732?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.