{"id":"UBUNTU-CVE-2025-27498","details":"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.","modified":"2026-05-20T16:10:34.028895548Z","published":"2025-03-03T17:15:00Z","upstream":["CVE-2025-27498"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-27498"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-27498"},{"type":"REPORT","url":"https://github.com/RustCrypto/AEADs/commit/d1d749ba57e38e65b0e037cd744d0b17f7254037"},{"type":"REPORT","url":"https://github.com/RustCrypto/AEADs/security/advisories/GHSA-r38m-44fw-h886"}],"affected":[{"package":{"name":"rust-aes-gcm","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-aes-gcm?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.3-1","0.10.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-aes-gcm-dev","binary_version":"0.10.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27498.json"}},{"package":{"name":"rust-aes-gcm","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-aes-gcm?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-aes-gcm-dev","binary_version":"0.10.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27498.json"}},{"package":{"name":"rust-aes-gcm","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-aes-gcm?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-aes-gcm-dev","binary_version":"0.10.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-27498.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}