CVE-2026-31430

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*

History

21 May 2026, 15:28

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CWE CWE-125
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CPE cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/206121294b9cf27f0589857f80d64f87e496ffb2 - () https://git.kernel.org/stable/c/206121294b9cf27f0589857f80d64f87e496ffb2 - Patch
References () https://git.kernel.org/stable/c/30ab358fad0c7daa1d282ec48089901b21b36a20 - () https://git.kernel.org/stable/c/30ab358fad0c7daa1d282ec48089901b21b36a20 - Patch
References () https://git.kernel.org/stable/c/672b526def1f94c1be8eb11b885b803da0d8c2f1 - () https://git.kernel.org/stable/c/672b526def1f94c1be8eb11b885b803da0d8c2f1 - Patch
References () https://git.kernel.org/stable/c/7fb4dadc2734f4020d7543d688b8d49c8e569c61 - () https://git.kernel.org/stable/c/7fb4dadc2734f4020d7543d688b8d49c8e569c61 - Patch
References () https://git.kernel.org/stable/c/d702c3408213bb12bd570bb97204d8340d141c51 - () https://git.kernel.org/stable/c/d702c3408213bb12bd570bb97204d8340d141c51 - Patch

20 Apr 2026, 10:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-20 10:16

Updated : 2026-05-21 15:28


NVD link : CVE-2026-31430

Mitre link : CVE-2026-31430

CVE.ORG link : CVE-2026-31430


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read