CVE-2026-46033

crypto: authencesn - reject short ahash digests during instance creation

State
Published
Severity
7.1 High
Published
May 27, 2026
Updated
Oct 15, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

crypto: authencesn - reject short ahash digests during instance creation

authencesn requires either a zero authsize or an authsize of at least 4 bytes because the ESN encrypt/decrypt paths always move 4 bytes of high-order sequence number data at the end of the authenticated data.

While crypto_authenc_esn_setauthsize() already rejects explicit non-zero authsizes in the range 1..3, crypto_authenc_esn_create() still copied auth->digestsize into inst->alg.maxauthsize without validating it. The AEAD core then initialized the tfm's default authsize from that value.

As a result, selecting an ahash with digest size 1..3, such as cbcmac(cipher_null), exposed authencesn instances whose default authsize was invalid even though setauthsize() would have rejected the same value. AF_ALG could then trigger the ESN tail handling with a too-short tag and hit an out-of-bounds access.

Reject authencesn instances whose ahash digest size is in the invalid non-zero range 1..3 so that no tfm can inherit an unsupported default authsize.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Hredhat-SADP

Weaknesses

  • CWE-1284 Improper Validation of Specified Quantity in Input

Affected Products

ProductVersions
LinuxLinux
  • f15f05b0a5de667c821a9727c33bce9d1d9b26dd to before 77f59fb2d3aa33e90ec6cbbf45dcfb20ab82b1a9Affected
  • f15f05b0a5de667c821a9727c33bce9d1d9b26dd to before 2f31cd1e64a079c845bca31d2da7b3c90a311726Affected
  • f15f05b0a5de667c821a9727c33bce9d1d9b26dd to before d4c6a6d08e70bb1083c7c405fc7faacbf19aebc0Affected
  • f15f05b0a5de667c821a9727c33bce9d1d9b26dd to before b69933e97efea238ebbfcf70c2b1be1cd03f13e3Affected
  • f15f05b0a5de667c821a9727c33bce9d1d9b26dd to before 67f1f0933cc3d78dde222842bcad2778ec7a0b88Affected
  • f15f05b0a5de667c821a9727c33bce9d1d9b26dd to before b42821c15445f93daea3e76ada682b2b7181c476Affected
  • f15f05b0a5de667c821a9727c33bce9d1d9b26dd to before 9aff81e8217e9de2929084b03b3c7f81988c112bAffected
  • f15f05b0a5de667c821a9727c33bce9d1d9b26dd to before 5db6ef9847717329f12c5ea8aba7e9f588a980c0Affected
LinuxLinux
  • 4.11Affected
  • before 4.11Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.86 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.