X.509: Fix out-of-bounds access when parsing extensions (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.08 % · percentile 0 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-125 — Out-of-bounds Read
References
- https://git.kernel.org/stable/c/672b526def1f94c1be8eb11b885b803da0d8c2f1
- https://git.kernel.org/stable/c/30ab358fad0c7daa1d282ec48089901b21b36a20
- https://git.kernel.org/stable/c/206121294b9cf27f0589857f80d64f87e496ffb2
- https://git.kernel.org/stable/c/7fb4dadc2734f4020d7543d688b8d49c8e569c61
- https://git.kernel.org/stable/c/d702c3408213bb12bd570bb97204d8340d141c51
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-23819
- GCVE · GCVE-0-2026-31430
CERT-FR advisories
- CERTFR-2026-AVI-1066 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1064 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0954 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0927 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0926 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0548 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0526 — Multiples vulnérabilités dans les produits Microsoft · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.4 < 6.6.135cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.12.82cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.23cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.13cpe: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:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 30eae2b037af54b24109dcaea21db46f6285c69b < 672b526def1f94c1be8eb11b885b803da0d8c2f1 ; affected 30eae2b037af54b24109dcaea21db46f6285c69b < 30ab358fad0c7daa1d282ec48089901b21b36a20 ; affected 30eae2b037af54b24109dcaea21db46f6285c69b < 206121294b9cf27f0589857f80d64f87e496ffb2 ; affected 30eae2b037af54b24109dcaea21db46f6285c69b < 7fb4dadc2734f4020d7543d688b8d49c8e569c61 ; affected 30eae2b037af54b24109dcaea21db46f6285c69b < d702c3408213bb12bd570bb97204d8340d141c51 |
| Linux · Linux | affected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.6.135 ≤ 6.6.* ; unaffected 6.12.82 ≤ 6.12.* ; unaffected 6.18.23 ≤ 6.18.* ; unaffected 6.19.13 ≤ 6.19.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |