# CVE-2026-31430: X.509: Fix out-of-bounds access when parsing extensions

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-20 · Modified: 2026-11-05
- Aliases: UBUNTU-CVE-2026-31430, DEBIAN-CVE-2026-31430
- Record: https://cvemate.com/vulnerability/CVE-2026-31430 · JSON: https://cvemate.com/vulnerability/CVE-2026-31430/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.085%, percentile 0.306%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 134)

- debian linux (Debian): \< 6.12.85-1 \| \< 6.19.13-1
- ubuntu linux (Ubuntu): \< 6.8.0-136.136 \| All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1061.64 \| All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1061.64~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 6.8.0-1061.64+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1063.71
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 24)

- <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>
- <https://ubuntu.com/security/CVE-2026-31430>
- <https://www.cve.org/CVERecord?id=CVE-2026-31430>
- <https://git.kernel.org/linus/d702c3408213bb12bd570bb97204d8340d141c51>
- <https://ubuntu.com/security/notices/USN-8567-1>
- <https://ubuntu.com/security/notices/USN-8574-1>
- <https://ubuntu.com/security/notices/USN-8574-2>
- <https://ubuntu.com/security/notices/USN-8595-1>
- <https://ubuntu.com/security/notices/USN-8596-1>
- <https://ubuntu.com/security/notices/USN-8595-2>
- <https://ubuntu.com/security/notices/USN-8606-1>
- <https://ubuntu.com/security/notices/USN-8607-1>
- <https://ubuntu.com/security/notices/USN-8608-1>
- <https://ubuntu.com/security/notices/USN-8609-1>
- <https://ubuntu.com/security/notices/USN-8574-3>
- <https://ubuntu.com/security/notices/USN-8595-3>

---

Data as of 2026-12-05T14:01:50.888Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
