CVE-2025-27498
AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
- State
- Published
- Severity
- 5.6 Medium
- Published
- Mar 3, 2025
- Updated
- Mar 3, 2025
- Reserved
- Feb 26, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.6 Medium | CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N | GitHub_M |
Weaknesses
- CWE-347 Improper Verification of Cryptographic Signature
Affected Products
| Product | Versions |
|---|---|
AEADsRustCrypto |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.