Skip to content
Vol. 1 · Ed. 2026
CyberGlossary
Entry № 021

AES-CBC

What is AES-CBC?

AES-CBCAn unauthenticated block-cipher mode that chains AES encryption with the previous ciphertext block; vulnerable to padding-oracle attacks when used without a MAC.


AES-CBC (Cipher Block Chaining) is a legacy mode defined in NIST SP 800-38A where each 128-bit plaintext block is XORed with the previous ciphertext block before AES encryption, using a random IV for the first block. CBC provides confidentiality but no integrity, so it must be wrapped with a separate MAC in an encrypt-then-MAC construction. PKCS#7-padded CBC is notoriously vulnerable to padding-oracle attacks (BEAST, Lucky 13, POODLE), which have been weaponised against TLS, IPsec, and disk encryption. Modern standards favour AEAD modes such as AES-GCM or ChaCha20-Poly1305 over plain CBC, though CBC remains common in TLS 1.0/1.1 legacy stacks.

Examples

  1. 01

    AES-256-CBC with HMAC-SHA256 in older TLS 1.0/1.1 cipher suites.

  2. 02

    BitLocker XTS-AES replaced AES-CBC for full-disk encryption due to malleability.

Frequently asked questions

What is AES-CBC?

An unauthenticated block-cipher mode that chains AES encryption with the previous ciphertext block; vulnerable to padding-oracle attacks when used without a MAC. It belongs to the Cryptography category of cybersecurity.

What does AES-CBC mean?

An unauthenticated block-cipher mode that chains AES encryption with the previous ciphertext block; vulnerable to padding-oracle attacks when used without a MAC.

How does AES-CBC work?

AES-CBC (Cipher Block Chaining) is a legacy mode defined in NIST SP 800-38A where each 128-bit plaintext block is XORed with the previous ciphertext block before AES encryption, using a random IV for the first block. CBC provides confidentiality but no integrity, so it must be wrapped with a separate MAC in an encrypt-then-MAC construction. PKCS#7-padded CBC is notoriously vulnerable to padding-oracle attacks (BEAST, Lucky 13, POODLE), which have been weaponised against TLS, IPsec, and disk encryption. Modern standards favour AEAD modes such as AES-GCM or ChaCha20-Poly1305 over plain CBC, though CBC remains common in TLS 1.0/1.1 legacy stacks.

How do you defend against AES-CBC?

Defences for AES-CBC typically combine technical controls and operational practices, as detailed in the full definition above.

What are other names for AES-CBC?

Common alternative names include: Cipher Block Chaining, AES-128-CBC, AES-256-CBC.

Related terms