CVE-2026-31430
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.08% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom 30eae2b037af54b24109dcaea21db46f6285c69b before 672b526def1f94c1be8eb11b885b803da0d8c2f1, from 30eae2b037af54b24109dcaea21db46f6285c69b before 30ab358fad0c7daa1d282ec48089901b21b36a20, from 30eae2b037af54b24109dcaea21db46f6285c69b before 206121294b9cf27f0589857f80d64f87e496ffb2, from 30eae2b037af54b24109dcaea21db46f6285c69b before 7fb4dadc2734f4020d7543d688b8d49c8e569c61, from 30eae2b037af54b24109dcaea21db46f6285c69b before d702c3408213bb12bd570bb97204d8340d141c51, 6.4
Not affected: before 6.4, from 6.6.135 up to 6.6.*, from 6.12.82 up to 6.12.*, from 6.18.23 up to 6.18.*, from 6.19.13 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.4 before 6.6.135, from 6.7 before 6.12.82, from 6.13 before 6.18.23, from 6.19 before 6.19.13, 7.0NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31430 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-31430 changed 2026-11-05Public domain