VDB

CVE-2026-31430

CVE-2026-31430 PUBLISHED

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.

PackageEcosystemFixed in
python3-perf6.12Amazon Linux1:6.12.83-113.160.amzn2023
LinuxLinux7fb4dadc2734f4020d7543d688b8d49c8e569c61, 6.4

Affected products

VendorProductVersions
LinuxLinux30eae2b037af54b24109dcaea21db46f6285c69b, 30eae2b037af54b24109dcaea21db46f6285c69b, 30eae2b037af54b24109dcaea21db46f6285c69b
LinuxLinux6.4, 0, 6.6.135
amazon:2023python3-perf6.120
LinuxLinux7.0, 6.19.13, 6.18.23
amazon:2023kernel6.120
amazon:2023perf6.120
linuxlinux_kernel6.4, 6.4, 6.4
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.180
amazon:2023kernel-livepatch-6.18.25-55.1080
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-devel0
amazon:2023perf6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.12.83-113.1600
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.120

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›