CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

5.6 CVSS

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.

Classification

CVE ID: CVE-2025-27498

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.6

CVSS 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

Problem Types

CWE-347: Improper Verification of Cryptographic Signature

Affected Products

Vendor: RustCrypto

Product: AEADs

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.01% (probability of being exploited)

EPSS Percentile: 0.39% (scored less or equal to compared to others)

EPSS Date: 2025-04-01 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-27498
https://github.com/RustCrypto/AEADs/security/advisories/GHSA-r38m-44fw-h886
https://github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254037

Timeline