CVE-2025-27498AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag…
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
Fixed builds are available from crates.io: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rust-aes-gcm | Fix pending | UBUNTU-CVE-2025-27498 | |
| Ubuntu 26.04 | rust-aes-gcm | Under investigation | UBUNTU-CVE-2025-27498 | |
| Ubuntu 25.10 | rust-aes-gcm | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-27498 | |
| Ubuntu 24.04 | rust-aes-gcm | Under investigation | UBUNTU-CVE-2025-27498 | |
| crates.io library | ascon-aead | Fixed | 0.4.3 | GHSA-r38m-44fw-h886 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- RustCrypto AEADs: affected: < 0.4.3
References
- https://github.com/RustCrypto/AEADs/security/advisories/GHSA-r38m-44fw-h886
- https://github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254037
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.