# RUSTSEC-2026-0209: AES-GCM did not enforce limits on AAD length

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

## Description

NIST Special Publication 800-38D specifies that the bit length of the
AAD shall not exceed `2^64 - 1` bits. The implementation of AES-GCM in
`libcrux-aesgcm` neither enforced this limit for encryption nor for
decryption.

## Impact
Use of AES-GCM with AAD of length exceeding the prescribed maximum
length degrades the authentication security of the GCM tag.

## Mitigation
Starting from version `0.0.9` (published as `libcrux-aes@v0.0.9`),
limits on the length of the AAD input are enforced, so overlong AAD
inputs result in an error on encryption and decryption.

(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-0209.html> (advisory)
- <https://github.com/celabshq/libcrux/pull/1474> (web)

## Sources

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

---

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