# CVE-2025-27498: AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure

- Severity: Medium 5.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2025-03-03T16:52:02.750Z
- Modified: 2026-06-17T09:03:42.923Z
- Also known as: GHSA-r38m-44fw-h886
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- RustCrypto AEADs: < 0.4.3
- ascon_aead (crates.io): before 0.4.3

## Every score

- GitHub_M: CVSS:4.0 5.6 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/RustCrypto/AEADs/security/advisories/GHSA-r38m-44fw-h886> (web)
- <https://github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254037> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27498> (advisory)
- <https://github.com/RustCrypto/AEADs> (package)

## Sources

- CVE List: [CVE-2025-27498](https://www.cve.org/CVERecord?id=CVE-2025-27498), CVE Terms of Use, modified 2025-03-03
- GitHub Advisory Database: [GHSA-r38m-44fw-h886](https://github.com/advisories/GHSA-r38m-44fw-h886), CC-BY-4.0, modified 2025-03-03
- NVD: [CVE-2025-27498](https://nvd.nist.gov/vuln/detail/CVE-2025-27498), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27498 · Whole record: https://cve.day/CVE-2025-27498.json · Rebuilt by cve.day 2026-11-25T22:58:54.925Z
