What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.82, 6.18.23, 6.19.13, 6.6.135. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31430 or the next vulnerability affects your stack