{"id":"CVE-2026-87732","state":"PUBLISHED","title":"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 decryp","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.","publishedAt":"2026-09-09T04:03:53.056Z","updatedAt":"2026-09-09T13:11:54.773Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"mitre"},"assigner":"mitre","products":["OCaml mirage-crypto"],"affected":[{"vendor":"OCaml","product":"mirage-crypto","packageURL":"pkg:opam/mirage-crypto","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.2.0","versionType":"semver"}]}],"references":["https://osv.dev/vulnerability/OSEC-2026-12"],"weaknesses":["CWE-347"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/87xxx/CVE-2026-87732.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-87732","state":"PUBLISHED","datePublished":"2026-09-09T04:03:53.056Z","dateUpdated":"2026-09-09T13:11:54.773Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2026-09-09T04:03:52.629Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"OCaml","product":"mirage-crypto","packageURL":"pkg:opam/mirage-crypto","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.2.0","versionType":"semver"}]}],"references":[{"url":"https://osv.dev/vulnerability/OSEC-2026-12"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","description":"CWE-347 Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2026-09-09T04:05:10.227Z"},"x_generator":{"engine":"CVE-Request-form 0.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://osv.dev/vulnerability/OSEC-2026-12","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-09T13:11:34.596764Z","id":"CVE-2026-87732","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-09T13:11:54.773Z"}}]}}}