CVE-2023-42811: AEADs/aes-gcm: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
Vulnerability summary
CVE-2023-42811 is a medium (CVSS 5.5) vulnerability in aes-gcm_project aes-gcm. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 22-09-2023PublishedVulnerability first disclosed.
- 18-06-2025Last modifiedVulnerability information updated.
Description
aes-gcm is a pure Rust implementation of the AES-GCM. Starting in version 0.10.0 and prior to version 0.10.3, in the AES GCM implementation of decrypt_in_place_detached, the decrypted ciphertext (i.e. the correct plaintext) is exposed even if tag verification fails. If a program using the `aes-gcm` crate's `decrypt_in_place*` APIs accesses the buffer after decryption failure, it will contain a decryption of an unauthenticated input. Depending on the specific nature of the program this may enable Chosen Ciphertext Attacks (CCAs) which can cause a catastrophic breakage of the cipher including full plaintext recovery. Version 0.10.3 contains a fix for this issue.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA4.7MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:NDiffers
- OSV · Crates.ioEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:NDiffers
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundAeads
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Opensuse2 products
- rage-encryption&distro=openSUSE Leap 15.5< 0.9.2+0-150500.3.3.1
- shadowsocks-rust&distro=openSUSE Tumbleweed< 1.16.2-1.1
Aes-gcm_project1 product
- aes-gcm≥ 0.10.0, < 0.10.3
Crates.Io1 product
- aes-gcm≥ 0.10.0, < 0.10.3
Fedoraproject1 product
- fedoraEOL37 | 38 | 39
Rustcrypto1 product
- aeads≥ 0.10.0, < 0.10.3
Suse1 product
- rage-encryption&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 0.9.2+0-150500.3.3.1
6 vendors · 7 products
References
16 links- github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vqX Refsource CONFIRMWEBExploitVendor Advisory
- lists.fedoraproject.org/archives/…Mailing List
- lists.fedoraproject.org/archives/…Mailing List
- lists.fedoraproject.org/archives/…Mailing List
- github.com/RustCrypto/AEADsPACKAGE
Show all 16 references
- crates.io/crates/aes-gcmPACKAGE