Skip to content
CVE PROGRAM SOURCE RECORD5.6 Medium

CVE-2025-27498

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

RustCrypto AEADs

  • < 0.4.3affected

References