CVE-2025-27498CWE-347

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

Medium · published March 3, 2025

CVSS v4.0
5.6
EPSS
0%
Percentile
2.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.6 · MEDIUM
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
EPSS
0.00125 · 2.0th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2025-03-03T16:52Z
EPSS history
Timeline
  • 03 MAR 16:52Z
    AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
    cvelistv5