Skip to main content

Linux Kernel CVE-2026-31430

| EUVDEUVD-2026-23819 HIGH
Out-of-bounds Read (CWE-125)
2026-04-20 Linux GHSA-q7h9-pvj5-g9fp
7.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local unprivileged shell
  2. Delivery
    Craft X.509 cert with empty Basic Constraints extension
  3. Exploit
    Invoke add_key() via keyrings API
  4. Execution
    Kernel parses extension, reads OOB byte
  5. Persist
    Leak kernel memory or trigger oops
  6. Impact
    Disclose secrets or DoS host

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must have local unprivileged code execution on the target Linux host (CVSS AV:L, PR:L) and the ability to invoke the keyrings(7) API - specifically add_key(2) or keyctl(2) with the 'asymmetric' key type - which is enabled by default on most distributions. No user interaction is required (UI:N). Exploitation is limited to local attackers: it is NOT remotely reachable over the network because the X.509 parser is not exposed via any network-facing kernel service by default. Sandboxed environments that block the keyring syscalls via seccomp (such as hardened container runtimes) or kernels built without CONFIG_ASYMMETRIC_KEY_TYPE / CONFIG_X509_CERTIFICATE_PARSER are not exploitable.

Impact

The CVSS 7.1 (AV:L/AC:L/PR:L/UI:N/C:H/I:N/A:H) accurately reflects that this is a local-only flaw requiring some level of unprivileged shell access, with high confidentiality and availability impact but no integrity impact - consistent with an out-of-bounds read that can leak kernel memory or crash the kernel. EPSS is extremely low (0.01%, 2nd percentile) and the vulnerability is not on the CISA KEV list, indicating no observed widespread exploitation. The signals are coherent rather than conflicting: this is a real local privilege boundary issue valuable to attackers chaining LPE on multi-tenant systems (containers, shared hosts), but it is not an internet-facing emergency. The tags mention 'Buffer Overflow' which is slightly imprecise - the root cause is an out-of-bounds read (CWE-125), not a write-side overflow, so write-primitive RCE is unlikely from this bug alone.

Exploit ScenarioDerived

An unprivileged local user on a shared Linux host (for example, a container tenant or a low-privilege account on a multi-user system) compiles the proof-of-concept disclosed by the reporter, builds a malformed X.509 certificate containing an empty Basic Constraints or Key Usage extension, and submits it via add_key(2) to the kernel keyring. The kernel parser reads past the extension boundary, potentially leaking adjacent kernel memory contents or triggering a kernel oops that crashes the host, degrading availability for all tenants on the system.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 21, 2026

Out-of-bounds read in the Linux kernel's X.509 certificate parser allows local unprivileged users to trigger memory corruption or denial of service by submitting a specially crafted certificate via the keyrings(7) API. The flaw exists in the handling of empty Basic Constraints or Key Usage extensions, where the first byte is dereferenced before the length check. A proof-of-concept was responsibly disclosed by the reporter, though no public exploit is identified at time of analysis and EPSS rates the exploitation probability as very low (0.01%).

RemediationAI

Vendor-released patch: upgrade to Linux kernel 6.6.135, 6.12.82, 6.18.23, 6.19.13, or later as appropriate for your stable branch, per the fix commits at https://git.kernel.org/stable/c/672b526def1f94c1be8eb11b885b803da0d8c2f1 and the related commits (206121294b9cf27f0589857f80d64f87e496ffb2, 30ab358fad0c7daa1d282ec48089901b21b36a20, 7fb4dadc2734f4020d7543d688b8d49c8e569c61, d702c3408213bb12bd570bb97204d8340d141c51). On distributions, apply the kernel update from your vendor (RHEL, Ubuntu, SUSE, Debian) once available and reboot. As a compensating control until patched, restrict access to the keyrings API by using seccomp filters to block the add_key(2) and keyctl(2) syscalls for untrusted workloads or containers (note: this will break legitimate consumers such as kerberos and fscrypt), and avoid granting shell access to untrusted local users on shared hosts.

Affected VersionsENISA

Linux patch: 6.12.82
Linux patch: 0
Linux patch: 7.0
Linux patch: 6.19.13
Linux 30eae2b037af54b24109dcaea21db46f6285c69b <206121294b9cf27f0589857f80d64f87e496ffb2
Linux patch: 6.18.23
Linux 6.4
Linux 30eae2b037af54b24109dcaea21db46f6285c69b <30ab358fad0c7daa1d282ec48089901b21b36a20
Linux 30eae2b037af54b24109dcaea21db46f6285c69b <d702c3408213bb12bd570bb97204d8340d141c51
Linux patch: 6.6.135
Linux 30eae2b037af54b24109dcaea21db46f6285c69b <7fb4dadc2734f4020d7543d688b8d49c8e569c61
Linux 30eae2b037af54b24109dcaea21db46f6285c69b <672b526def1f94c1be8eb11b885b803da0d8c2f1

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Linux kernel's X.509 certificate parsing code (crypto/asymmetric_keys/x509_cert_parser.c), which decodes ASN.1-encoded certificate extensions. When parsing Basic Constraints or Key Usage extensions, the parser reads the first byte of the extension value before validating that the extension contains any data, leading to an out-of-bounds read past the buffer boundary. This is a classic CWE-125 (Out-of-bounds Read) issue. The keyrings(7) syscall interface is the attack surface: it permits unprivileged user-space processes to feed arbitrary certificate bytes directly into the in-kernel parser, making this a reachable code path without elevated privileges or special configuration.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
SUSE HIGH
Red Hat 6.6 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
May 21, 2026 - 15:37 NVD
7.1 (HIGH)
Patch released
Apr 23, 2026 - 16:17 nvd
Patch available
Patch available
Apr 20, 2026 - 11:16 EUVD
CVE Published
Apr 20, 2026 - 09:43 nvd
N/A

DescriptionNVD

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.

Executive ViewAI

Why It Matters

A vulnerability in the Linux kernel permits local users to cause denial of service or memory corruption through certificate submission. No active exploitation has been identified; however, organizations using Linux must patch systems to prevent potential service outages and protect data integrity.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy