CVE-2025-27498
MEDIUM 5.7CVSS 4.0AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
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.
- Published
- 3 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-347
- Also known as
- GHSA-r38m-44fw-h886
- Sources
- NVDJSONOSV GHSA-r38m-44fw-h886JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.7 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | ascon_aead | < 0.4.3 | 0.4.3 |
References
- https://github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254037 · WEB
- https://github.com/RustCrypto/AEADs/security/advisories/GHSA-r38m-44fw-h886 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27498 · ADVISORY
- https://github.com/RustCrypto/AEADs · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 3 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Mar 2025)