# RUSTSEC-2026-0211: Non-constant time Authentication Tag Check in AES-GCM Decryption

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-14T12:00:00.000Z
- Modified: 2026-07-17T11:45:03.695Z

## Description

AES-GCM decryption used an implementation for checking the provided
authentication tag against the recomputed authentication tag that was
intended to be constant-time, but resulted in non-constant-time code
generation in certain circumstances.
Note that `libcrux-aesgcm` does not give guarantees on constant-time
code generation and possible mitigations must be considered
on a best-effort basis.

## Impact
Users of `libcrux-aesgcm` that expose a decryption oracle to an
attacker, which allows repeatedly querying for the same ciphertext
were at risk from timing side-channel attacks, depending on their
compilation environment. In the worst case, this could lead to
recovery of the recomputed authentication tag by the attacker, which
enables ciphertext forgery.

## Mitigation
Starting from version `0.0.9` (published as `libcrux-aes@v0.0.9`),
AES-GCM decryption uses a different, best-effort constant-time
implementation of the tag check, which has been checked to reliably
lead to constant time code generation, at the moment.

(As written by RustSec Advisory Database.)

## Affected

- libcrux-aesgcm (crates.io): from 0.0.0-0

## References

- <https://crates.io/crates/libcrux-aesgcm> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0211.html> (advisory)
- <https://github.com/celabshq/libcrux/pull/1528> (web)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0211](https://rustsec.org/advisories/RUSTSEC-2026-0211.html), CC0-1.0, modified 2026-07-17

---

Page: https://cve.day/RUSTSEC-2026-0211 · Whole record: https://cve.day/RUSTSEC-2026-0211.json · Rebuilt by cve.day 2026-11-25T22:56:43.383Z
