{"id":"RUSTSEC-2026-0209","revision":"7e4ffe23c80e47adb5b0d64a844552c1","records":[{"revision":"7e4ffe23c80e47adb5b0d64a844552c1","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0209","aliases":[],"title":"AES-GCM did not enforce limits on AAD length","description":"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.","state":0,"publishedAt":"2026-06-09T12:00:00+00:00","modifiedAt":"2026-07-17T11:45:03.7636245+00:00","affected":[{"ecosystem":"crates.io","name":"libcrux-aesgcm","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null}],"references":["https://crates.io/crates/libcrux-aesgcm","https://rustsec.org/advisories/RUSTSEC-2026-0209.html","https://github.com/celabshq/libcrux/pull/1474"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0209","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0209","identifiers":["RUSTSEC-2026-0209"]},"retained":false,"historicalAffected":[]}],"coverage":[]}