CVE-2026-31430

published 20 Apr 2026 · updated 7 Nov 2026

X.509: Fix out-of-bounds access when parsing extensions

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d702c3408213bb12bd570bb97204d8340d141c51, Kernel 6.19.13, Kernel 6.6.135 and 6 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=30eae2b037af54b24109dcaea21db46f6285c69b <d702c3408213bb12bd570bb97204d8340d141c51, >=6.19 <6.19.13, >=6.4 <6.6.135, >=6.7 <6.12.82, =7.0, >=30eae2b037af54b24109dcaea21db46f6285c69b <30ab358fad0c7daa1d282ec48089901b21b36a20, >=30eae2b037af54b24109dcaea21db46f6285c69b <672b526def1f94c1be8eb11b885b803da0d8c2f1, >=30eae2b037af54b24109dcaea21db46f6285c69b <7fb4dadc2734f4020d7543d688b8d49c8e569c61, >=6.13 <6.18.23, =6.4, >=30eae2b037af54b24109dcaea21db46f6285c69b <206121294b9cf27f0589857f80d64f87e496ffb2d702c3408213bb12bd570bb97204d8340d141c51, 6.19.13, 6.6.135, 6.12.82, 30ab358fad0c7daa1d282ec48089901b21b36a20, 672b526def1f94c1be8eb11b885b803da0d8c2f1, 7fb4dadc2734f4020d7543d688b8d49c8e569c61, 6.18.23, 206121294b9cf27f0589857f80d64f87e496ffb2
linux-kernel: Kernel>=6.13.0 <6.18.23, >=6.19.0 <6.19.13, >=6.4.0 <6.6.135, >=6.7.0 <6.12.826.18.23, 6.19.13, 6.6.135, 6.12.82

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31430 severity on Zeptric[![CVE-2026-31430](https://zeptric.io/badge/cve/CVE-2026-31430.svg)](https://zeptric.io/cve/CVE-2026-31430)