CVE-2026-31430
X.509: Fix out-of-bounds access when parsing extensions
Reported by linux · Published April 20, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.12 | Amazon Linux | 1:6.12.83-113.160.amzn2023 |
| Linux | Linux | 7fb4dadc2734f4020d7543d688b8d49c8e569c61, 6.4 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 30eae2b037af54b24109dcaea21db46f6285c69b, 30eae2b037af54b24109dcaea21db46f6285c69b, 30eae2b037af54b24109dcaea21db46f6285c69b |
| Linux | Linux | 6.4, 0, 6.6.135 |
| amazon:2023 | python3-perf6.12 | 0 |
| Linux | Linux | 7.0, 6.19.13, 6.18.23 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| linux | linux_kernel | 6.4, 6.4, 6.4 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.25-55.108 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.83-113.160 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
…and 6 more
Timeline
- Apr 19, 2026 CVE Published
- Apr 20, 2026 PoC Published (2 in total, the first dated here)
- Apr 21, 2026 Security Advisory (15 in total, the first dated here)
- May 18, 2026 EPSS Score (19 in total, the first dated here)
- Jul 12, 2026 Coalition ESS Score
- Jul 27, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (13 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-31430
vulnetix vdb fixes CVE-2026-31430
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31430/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart