Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254
- https://github.com/RustCrypto/AEADs/security/advisories/GHSA-r38m-44fw-h886
FAQ
What is CVE-2025-27498?
CVE-2025-27498 is a documented vulnerability. 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 ...
How severe is CVE-2025-27498?
CVSS scoring is not yet available for CVE-2025-27498. Check NVD for updates.
Is there a patch for CVE-2025-27498?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.