Skip to main content
← All vulnerabilities
CVE-2025-27498GHSA-R38M-44FW-H886

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.4.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • RustCrypto AEADs

    fixed in 0.4.3

  • ascon_aeadcrates.io

    fixed in 0.4.3

References 2

GitHub · RustCrypto/AEADs