What’s Vulnerable › Vulnerabilities
CVE-2025-27498: AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
- Severity: medium (CVSS 5.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-03 · updated 2026-06-17
- Weakness: CWE-347
Description
aes-gcm is a pure Rust implementation of the AES-GCM. In decrypt_in_place_detached, the decrypted ciphertext (which is the correct ciphertext) is exposed even if the tag is incorrect. This is because in decrypt_inplace in asconcore.rs, tag verification causes an error to be returned with the plaintext contents still in buffer. The vulnerability is fixed in 0.4.3.
Affected products
- RustCrypto AEADs: before 0.4.3
References
- https://github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254037
- https://github.com/RustCrypto/AEADs/security/advisories/GHSA-r38m-44fw-h886
Get alerted when CVE-2025-27498 or the next vulnerability affects your stack