Out-of-bounds Read in Linux
CVE-2026-31430
- CVSS v3
- 7.1 High
- Public exploits
- None known
- EPSS
- 0.001 · 0.2th percentile
- Published
- 2026-04-20
In the Linux kernel, the following vulnerability has been resolved:
X.509: Fix out-of-bounds access when parsing extensions
Leo reports an out-of-bounds access when parsing a certificate with
empty Basic Constraints or Key Usage extension because the first byte of
the extension is read before checking its length. Fix it.
The bug can be triggered by an unprivileged user by submitting a
specially crafted certificate to the kernel through the keyrings(7) API.
Leo has demonstrated this with a proof-of-concept program responsibly
disclosed off-list.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.001, 0.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 30eae2b037af54b24109dcaea21db46f6285c69b, 6.4, 0
- Linux Kernel — versions 7.0
Weakness classification (CWE)
References
- git.kernel.org/stable/c/672b526def1f94c1be8eb11b885b803da0d8c2f1 (Patch)
- git.kernel.org/stable/c/30ab358fad0c7daa1d282ec48089901b21b36a20 (Patch)
- git.kernel.org/stable/c/206121294b9cf27f0589857f80d64f87e496ffb2 (Patch)
- git.kernel.org/stable/c/7fb4dadc2734f4020d7543d688b8d49c8e569c61 (Patch)
- git.kernel.org/stable/c/d702c3408213bb12bd570bb97204d8340d141c51 (Patch)