{"id":"RUSTSEC-2026-0209","aliases":["RUSTSEC-2026-0209"],"related":[],"kind":"vulnerability","state":"published","title":"AES-GCM did not enforce limits on AAD length","summary":"NIST Special Publication 800-38D specifies that the bit length of the\nAAD shall not exceed `2^64 - 1` bits. The implementation of AES-GCM in\n`libcrux-aesgcm` neither enforced this limit for encryption nor for\ndecryption.\n\n## Impact\nUse of AES-GCM with AAD of length exceeding the prescribed maximum\nlength degrades the authentication security of the GCM tag.\n\n## Mitigation\nStarting from version `0.0.9` (published as `libcrux-aes@v0.0.9`),\nlimits on the length of the AAD input are enforced, so overlong AAD\ninputs result in an error on encryption and decryption.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"NIST Special Publication 800-38D specifies that the bit length of the\nAAD shall not exceed `2^64 - 1` bits. The implementation of AES-GCM in\n`libcrux-aesgcm` neither enforced this limit for encryption nor for\ndecryption.\n\n## Impact\nUse of AES-GCM with AAD of length exceeding the prescribed maximum\nlength degrades the authentication security of the GCM tag.\n\n## Mitigation\nStarting from version `0.0.9` (published as `libcrux-aes@v0.0.9`),\nlimits on the length of the AAD input are enforced, so overlong AAD\ninputs result in an error on encryption and decryption.","format":"markdown","source":"rustsec"}],"published":"2026-06-09T12:00:00.000Z","modified":"2026-07-17T11:45:03.763Z","severities":[{"scorer":"RustSec Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"libcrux-aesgcm","purl":"pkg:cargo/libcrux-aesgcm","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/libcrux-aesgcm","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0209.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/celabshq/libcrux/pull/1474","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0209","url":"https://rustsec.org/advisories/RUSTSEC-2026-0209.html","licence":"CC0-1.0","modified":"2026-07-17T11:45:03.763Z"}],"updatedAt":"2026-11-25T22:56:43.382Z"}