CVE-2026-87732
published medium CVSS 3.1 · 6.2mirage-crypto vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OCaml | — | mirage-crypto0 to < 2.2.0 · Other versions: unaffected | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OCaml | mirage-crypto | 0 to < 2.2.0 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-347 CWE-347 Improper Verification of Cryptographic Signature
References
1Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4dfdbe90aace5e87b688eeeb7f374545ab58b6ecbc22975e241f41c4bf8afdd2
- Ingested
- 23 Sep 2026, 09:37:53 UTC
- Source record
- Official CVE record