CVE-2026-87732
OCaml packages · 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 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.107% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.2 · published by mitreCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Assessment source · checked 2026-11-19T12:59:21.181Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:21.181Z | CVE Program |
| epss | verified | 2026-11-19T16:04:55.800Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:58.622Z | OSV |
| affected | verified | 2026-11-19T12:59:21.181Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:21.181Z | CVE Program |
Affected versions and configuration
OCaml mirage-crypto; default status: unaffected: 0 to < 2.2.0 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "OCaml",
"product": "mirage-crypto",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "2.2.0",
"versionType": "semver"
}
],
"packageURL": "pkg:opam/mirage-crypto",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-87732",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-09T13:11:34.596764Z"
}
}
}
],
"references": [
{
"url": "https://osv.dev/vulnerability/OSEC-2026-12",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-09T13:11:54.773Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "OSEC-2026-12",
"aliases": [
"CVE-2026-87732"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.0"
}
]
}
],
"package": {
"name": "mirage-crypto",
"purl": "pkg:opam/mirage-crypto",
"ecosystem": "opam"
},
"versions": [
"0.6.0",
"0.6.1",
"0.6.2",
"0.7.0",
"0.8.0",
"0.8.1",
"0.8.2",
"0.8.3",
"0.8.4",
"0.8.5",
"0.8.6",
"0.8.7",
"0.8.8",
"0.8.9",
"0.8.10",
"0.9.0",
"0.9.1",
"0.9.2",
"0.10.0",
"0.10.1",
"0.10.2",
"0.10.3",
"0.10.4",
"0.10.5",
"0.10.6",
"0.10.7",
"0.11.0",
"0.11.1",
"0.11.2",
"0.11.3",
"1.0.0",
"1.1.0",
"1.2.0",
"2.0.0",
"2.0.1",
"2.0.2",
"2.0.3",
"2.1.0"
],
"database_specific": {
"source": "https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-12.json"
},
"ecosystem_specific": {
"opam_constraint": "mirage-crypto {< \"2.2.0\"}",
"affected_bindings": [
"Mirage_crypto.AES.CCM16.authenticate_decrypt_into",
"Mirage_crypto.AES.CCM16.unsafe_authenticate_decrypt_into",
"Mirage_crypto.Chacha20.authenticate_decrypt_into",
"Mirage_crypto.Chacha20.unsafe_authenticate_decrypt_into",
"Mirage_crypto.AES.GCM.authenticate_decrypt_into",
"Mirage_crypto.AES.GCM.unsafe_authenticate_decrypt_into"
]
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/mirage/mirage-crypto.git",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "25e7570aec91e092b347561c23f84b6ec39e7163"
}
]
}
],
"versions": [
"v2.1.0",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v1.2.0",
"v1.1.0",
"v1.0.1",
"v1.0.0",
"v0.11.3",
"v0.11.2",
"v0.11.1",
"v0.11.0",
"v0.10.7",
"v0.10.6",
"v0.10.5",
"v0.10.4",
"v0.10.3",
"v0.10.2",
"v0.10.1",
"v0.10.0",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.8.10",
"v0.8.9",
"v0.8.8",
"v0.8.7",
"v0.8.6",
"v0.8.5",
"v0.8.4",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.6.2",
"v0.6.1",
"v0.6.0"
],
"database_specific": {
"source": "https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-12.json"
}
}
],
"database_specific": {
"cwe": [
"CWE-347"
],
"osv": "https://github.com/ocaml/security-advisories/tree/generated-osv/2026/OSEC-2026-12.json",
"human_link": "https://github.com/ocaml/security-advisories/tree/main/advisories/2026/OSEC-2026-12.md"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | opam / package | mirage-crypto | Not a distribution channel | 2.2.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:58.622ZArchived source JSON
Source publication: 2026-07-27T19:00:00.000Z
Source modification: 2026-11-06T13:45:03.730ZDocument fingerprint
c99b804760a84e949ec2251dbb1c87f5ad4c1662b20a2ada4f291302c1e57012 - CVE ProgramConsulted: 2026-11-19T12:59:21.181ZArchived source JSON
Source publication: 2026-09-09T04:03:53.056Z
Source modification: 2026-09-09T13:11:54.773ZDocument fingerprint
4dfdbe90aace5e87b688eeeb7f374545ab58b6ecbc22975e241f41c4bf8afdd2 - FIRST EPSSConsulted: 2026-11-19T16:04:55.800ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
96ff8f43c82fd9c247c94403d85600dee3c473da1174243e6cbe96ad9800bf11
Official status history
- UNKNOWN → PUBLISHED · · evidence