CVE-2025-27498: AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
5.6
CVSS Score
4.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.01484%
CWE
Published
3/3/2025
Updated
3/3/2025
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ascon_aead | rust | <= 0.4.2 | 0.4.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the decrypt_in_place_detached implementation in asconcore.rs where tag verification failure didn't clear the decrypted buffer. The proof-of-concept demonstrates plaintext retention after failed decryption, and the patch adds ciphertext.fill(0) in the error path. The function's control flow matches the described vulnerability pattern of returning unauthenticated plaintext, making AsconCore::decrypt_in_place_detached the clear vulnerable entry point.