CVE-2025-27498RustCrypto AEADs
Medium 5.7
Follow: this CVE · RustCrypto · RustCrypto AEADs We alert you by email or Slack (account required).
- Priority
- 34
- CVSS 4.0
- 5.7
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 3, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- 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
What happens
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.
What to do
- Apply the vendor's security update for AEADs.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | ascon_aead |
< 0.4.3 |
0.4.3 |
cargo update -p ascon_aead --precise 0.4.3 |
Per OSV / GitHub Advisories (GHSA-r38m-44fw-h886). Check the version in your lockfile before upgrading.
Affected products
- RustCrypto · AEADs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.