ADVISORIES

Vulnerability

CVE-2025-27498

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.

2 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Ubuntu 1crates.io 1

Advisories

  • GHSA-r38m-44fw-h886

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

    Moderate CVE-2025-27498 crates.io Updated 3 March 2025
  • UBUNTU-CVE-2025-27498

    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…

    CVE-2025-27498 Ubuntu Updated 17 October 2026

References