CVE-2025-27498: rustcrypto aeads
Vulnerability summary
CVE-2025-27498 is a medium (CVSS 5.7) vulnerability in rustcrypto aeads. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2% of scored vulnerabilities.
Timeline
- 03-03-2025PublishedVulnerability first disclosed.
- 03-03-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA5.6MediumCVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:NDiffers
- OSV · UbuntuEcosystem advisory · calculated5.7MediumCVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · Crates.ioEcosystem advisory · calculated5.7MediumCVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
0.00 pp
From 0.12% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- ascon_aead< 0.4.3
Rustcrypto1 product
- aeads< 0.4.3
Ubuntu1 product
- rust-aes-gcmAll versions (No fix recorded)
3 vendors · 3 products
References
6 links- github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254037X Refsource MISCREPORTWEB
- github.com/RustCrypto/AEADsPACKAGE