# CVE-2025-27498: AEADs/ascon-aead: Plaintext exposed in decrypt\_in\_place\_detached even on tag verification failure

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-03 · Modified: 2025-03-03
- Aliases: UBUNTU-CVE-2025-27498, GHSA-r38m-44fw-h886
- Record: https://cvemate.com/vulnerability/CVE-2025-27498 · JSON: https://cvemate.com/vulnerability/CVE-2025-27498/json

## Description

```text
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.
```

## Signals

- CVSS: 5.7 medium (v4.0, NVD) 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
- EPSS: 0.125%, percentile 2.383%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Crates.Io ascon\_aead (Crates.Io): \< 0.4.3
- ubuntu rust-aes-gcm (Ubuntu): All versions (No fix recorded)
- rustcrypto aeads: \< 0.4.3

## References

- <https://github.com/RustCrypto/AEADs/security/advisories/GHSA-r38m-44fw-h886>
- <https://github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254037>
- <https://ubuntu.com/security/CVE-2025-27498>
- <https://www.cve.org/CVERecord?id=CVE-2025-27498>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27498>
- <https://github.com/RustCrypto/AEADs>

---

Data as of 2026-12-05T09:45:35.519Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
