RUSTSEC-2026-0209
not scored yetAES-GCM did not enforce limits on AAD length
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | RustSec | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | libcrux-aesgcm | >= 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
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Jun 2026)