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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-09-09 05:18
Updated : 2026-09-09 16:04
NVD link : CVE-2026-87732
Mitre link : CVE-2026-87732
CVE.ORG link : CVE-2026-87732
JSON object : View
Products Affected
No product.
CWE
CWE-347
Improper Verification of Cryptographic Signature
