Advisory record · GHSA-423w-p2w9-r7vq

Plaintext exposed in decrypt_in_place_detached even on tag verification failure

CVSS 4.7 MediumEPSS 0.0023 · 13th percentile

Published by the GitHub Advisory Database at 22 Nov 2023, 12:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
aes-gcmcrates.io>=0.10.0, <0.10.30.10.3
Identifiers
GHSA-423w-p2w9-r7vq · CVE-2023-42811 · RUSTSEC-2023-0096
Weakness (CWE)
CWE-347
Published
22 Nov 2023
Updated
12 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The aes-gcm crate versions 0.10.0 up to but not including 0.10.3 are affected. When tag verification fails in decrypt_in_place_detached, the decrypted plaintext is left in the buffer rather than being wiped or re-encrypted, so a program that reads the buffer after a failed decryption can see unauthenticated plaintext. Upgrade to aes-gcm 0.10.3 or later. The source gives no workaround beyond not using the buffer after a failed decryption.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.7 Medium 3.1 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0023, the 13th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:24 UTC First seen by agentprime
  2. 31 Oct 2026, 14:24 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.