CVE-2026-31430

Source
https://cve.org/CVERecord?id=CVE-2026-31430
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31430.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31430
Downstream
Published
2026-04-20T09:43:03.919Z
Modified
2026-06-18T03:54:24.754509439Z
Summary
X.509: Fix out-of-bounds access when parsing extensions
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31430.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
30eae2b037af54b24109dcaea21db46f6285c69b
Fixed
672b526def1f94c1be8eb11b885b803da0d8c2f1
Fixed
30ab358fad0c7daa1d282ec48089901b21b36a20
Fixed
206121294b9cf27f0589857f80d64f87e496ffb2
Fixed
7fb4dadc2734f4020d7543d688b8d49c8e569c61
Fixed
d702c3408213bb12bd570bb97204d8340d141c51

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31430.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.6.135
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.82
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.23
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.13

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31430.json"