Junglewise Threat Intelligence

CVE-2026-31430: Linux Kernel out-of-bounds access in X.509 extension parsing

CVE-2026-31430 · Severity: high · CVSS 7.1 · Published 2026-04-20

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's certificate handling could allow a local user to crash the system or potentially access sensitive information. The issue occurs when the system processes specially crafted security certificates that contain empty data fields. An attacker with basic access to the system can exploit this by submitting a malicious certificate through standard system interfaces.

Technical details

An out-of-bounds read vulnerability exists in 'crypto/asymmetric_keys/x509_cert_parser.c' within the Linux kernel. The root cause is a logic error where the first byte of an X.509 extension is read before verifying that the extension's length is sufficient. An unprivileged local attacker can trigger this by submitting a specially crafted certificate via the keyrings(7) API. This can lead to a kernel oops (denial of service) or potentially the leakage of kernel memory contents. Patches have been released for multiple stable branches including 6.6.y, 6.12.y, 6.18.y, and 6.19.y.

Affected products

  • Linux Linux Kernel 6.4 to 6.6.135, 6.7 to 6.12.82, 6.13 to 6.18.23, 6.19 to 6.19.13, 7.0-rc1 to 7.0-rc7

Timeline

  • 2026-04-07: other: Patch authored
  • 2026-04-20: disclosed
  • 2026-04-20: advisory

References

Related threats