CVE-2026-46033

crypto: authencesn - reject short ahash digests during instance creation

At a glance

Severity
HIGH 7.1
EPSS
EPSS 0.14 % · percentile 3 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Hredhat-SADP
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected f15f05b0a5de667c821a9727c33bce9d1d9b26dd < 77f59fb2d3aa33e90ec6cbbf45dcfb20ab82b1a9 ; affected f15f05b0a5de667c821a9727c33bce9d1d9b26dd < 2f31cd1e64a079c845bca31d2da7b3c90a311726 ; affected f15f05b0a5de667c821a9727c33bce9d1d9b26dd < d4c6a6d08e70bb1083c7c405fc7faacbf19aebc0 ; affected f15f05b0a5de667c821a9727c33bce9d1d9b26dd < b69933e97efea238ebbfcf70c2b1be1cd03f13e3 ; affected f15f05b0a5de667c821a9727c33bce9d1d9b26dd < 67f1f0933cc3d78dde222842bcad2778ec7a0b88 ; affected f15f05b0a5de667c821a9727c33bce9d1d9b26dd < b42821c15445f93daea3e76ada682b2b7181c476
Linux · Linuxaffected 4.11 ; unaffected 0 < 4.11 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.140 ≤ 6.6.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD