Live threats

All CVEs / RustCrypto

CVE-2025-27498RustCrypto AEADs

Medium 5.7

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for AEADs.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

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.