{"id":"CVE-2026-87732","published":"2026-09-09T04:03:53Z","modified":"2026-09-09T13:11:54Z","title":"An issue was discovered in the mirage-crypto package before 2.2.0 for OCaml","vendor":"OCaml","product":"mirage-crypto","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00107,"percentile":0.01168,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://osv.dev/vulnerability/OSEC-2026-12","tags":[]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":0.23},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"ocaml","affectedVersions":[{"vendor":"OCaml","product":"mirage-crypto","versions":["< 2.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-09T13:11:34.596764Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-74618","exploited":false,"provenance":"source"}}