# CVE-2023-42811: AEADs/aes-gcm: Plaintext exposed in decrypt\_in\_place\_detached even on tag verification failure

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-09-22 · Modified: 2025-06-18
- Aliases: SUSE-SU-2023:4060-1, openSUSE-SU-2024:13315-1, GHSA-423w-p2w9-r7vq, RUSTSEC-2023-0096
- Record: https://cvemate.com/vulnerability/CVE-2023-42811 · JSON: https://cvemate.com/vulnerability/CVE-2023-42811/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.23%, percentile 14.777%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- aes-gcm\_project aes-gcm: ≥ 0.10.0, \< 0.10.3
- Crates.Io aes-gcm (Crates.Io): ≥ 0.10.0, \< 0.10.3
- fedoraproject fedora: 37 \| 38 \| 39
- opensuse rage-encryption&distro=openSUSE Leap 15.5 (openSUSE): \< 0.9.2+0-150500.3.3.1
- opensuse shadowsocks-rust&distro=openSUSE Tumbleweed (openSUSE): \< 1.16.2-1.1
- suse rage-encryption&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5 (SUSE Linux Enterprise): \< 0.9.2+0-150500.3.3.1
- rustcrypto aeads: ≥ 0.10.0, \< 0.10.3

## References

- <https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq>
- <https://docs.rs/aes-gcm/latest/src/aes_gcm/lib.rs.html#309>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYQCICN6BVC6I75O3F6W4VK4J3MOYDJU/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U67ZSMNX5V3WTBYPUYF45PSFG4SF5SGF/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROBB6TBDAGEQ2WIINR34F3DPSN3FND6K/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20234060-1/>
- <https://bugzilla.suse.com/1215657>
- <https://www.suse.com/security/cve/CVE-2023-42811>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42811>
- <https://github.com/RustCrypto/AEADs>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ROBB6TBDAGEQ2WIINR34F3DPSN3FND6K>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYQCICN6BVC6I75O3F6W4VK4J3MOYDJU>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U67ZSMNX5V3WTBYPUYF45PSFG4SF5SGF>
- <https://rustsec.org/advisories/RUSTSEC-2023-0096.html>
- <https://crates.io/crates/aes-gcm>
- <https://github.com/RustCrypto/AEADs/pull/551>

---

Data as of 2026-12-05T09:45:30.987Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
