AES-GCM did not enforce limits on AAD length
Historical advisory saved 24 Oct 2026 13:19:54 UTC. The publisher may have updated it since then. Latest advisory.
osv · RUSTSEC-2026-0209
PublishedNIST 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 `[email protected]`), limits on the length of the AAD input are enforced, so overlong AAD inputs result in an error on encryption and decryption.
- Source published
- 9 Jun 2026 12:00:00 UTC
- Source modified
- 17 Jul 2026 11:45:03 UTC
- Saved here
- 24 Oct 2026 13:19:54 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V4 · 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