Ericsson researcher's cryptanalysis of AES Key Wrap urges NIST SP 800-38F revision

jedisct1 · x · 2026-12-02

John Preuß Mattsson of Ericsson Research publishes an IACR paper analyzing the widely deployed AES Key Wrap modes KW/KWP (NIST SP 800-38F, RFC 3394/5649). Key findings: checking expected plaintext length lowers KWP's generic forgery probability to 2^-120; Kelsey's six-collision forgery conditions are corrected — successful forgeries preserve 1/7 of the plaintext, and release of unverified plaintext (RUP) makes leaks far likelier; a five-collision chosen-plaintext distinguisher shows at least four passes are needed for beyond-birthday-bound security. The practically relevant weaknesses lie outside W: raw block cipher access under the KEK breaks KW confidentiality/integrity, KWP's single-semiblock path enables five-collision reforgery under a shared KEK, and cryptographic API flaws (reversible padding, caller-chosen parameters) enable key truncation and domain separation breaks. With NIST revising SP 800-38F, the paper offers recommendations for the revision, implementations, APIs like PKCS#11, and future designs.

Original post →

More from Safety

Safety channel →