AES: weaknesses and attacks
Theoretical attacks, side channels, misuse of modes and quantum computers: what really threatens AES.
After more than twenty years of analysis, the best known attack on full AES reduces the effort needed only very slightly compared with brute force.
| Attack | What it showed | Practical relevance |
|---|---|---|
| Biclique attack (2011) | Recovers an AES-128 key with about 2^126 operations instead of 2^128 | None: it remains impractical |
| Related-key attacks (2009) | Theoretical weaknesses of AES-192 and AES-256 if the attacker can use related keys | None in well-designed protocols |
| Cache-timing attacks (2005) | Measuring table access times can reveal the key | High for naive implementations; solved with hardware instructions and constant-time code |
| Misuse of modes | ECB, predictable initialisation vectors, nonces reused in GCM | High: the cause of most real-world problems |
| Quantum computers | Grover’s algorithm would halve the effective key security | AES-256 remains adequate even in that scenario |
AES today
Where AES is used every day — web, Wi-Fi, disks, messages, archives — and why it is considered adequate for the future too.
The pages of this topic
Back to the overviewAES: how it works
The 16-byte state, the four steps of each round — SubBytes, ShiftRows, MixColumns, AddRoundKey — and the role of modes of operation.
AES: history
From the decline of DES to the NIST competition, from Rijndael’s victory to the publication of the FIPS 197 standard.
AES: the maths
The finite field with 256 elements, the construction of the S-box and the MixColumns calculation: the mathematics that makes AES robust.
AES: worked example
The official FIPS 197 test vector for AES-128 and how to use it to check an implementation.
AES: pitfalls to avoid
The most common mistakes made by those who use AES in their own programs: wrong modes, weak keys, repeated vectors, lack of authentication.
AES: frequently asked questions
Short answers to the most common doubts about AES, key length, security and quantum computers.