RUSTSEC-2026-0209
AES-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 [email protected]),
limits on the length of the AAD input are enforced, so overlong AAD
inputs result in an error on encryption and decryption.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
What each source reports
OSV Score used
6.3
AES-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 [email protected]),
limits on the length of the AAD input are enforced, so overlong AAD
inputs result in an error on encryption and decryption.
- Record
RUSTSEC-2026-0209- CVSS 4.0
- 6.3 Medium
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 - Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libcrux-aesgcmcrates.io |
0.0.0-0 and later | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
RUSTSEC-2026-0209 is a medium vulnerability (CVSS 6.3) in libcrux-aesgcm, published June 9, 2026. No source lists public exploit code. No source names a fixed version.