Skip to main content

Linux Kernel CVE-2026-45887

| EUVDEUVD-2026-32353 MEDIUM
Memory Leak (CWE-401)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-c5xh-c73j-mcx2
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local user shell access
  2. Delivery
    Repeatedly call unix_stream_connect() toward a target socket
  3. Exploit
    Trigger prepare_peercred() failure condition (namespace or credential constraint)
  4. Execution
    newsk object leaked on kernel heap per failed attempt
  5. Persist
    Accumulated leaks exhaust kernel memory
  6. Impact
    System availability degraded or OOM condition triggered

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires an authenticated local user session with at least low-privilege access (PR:L per CVSS vector AV:L/PR:L) - remote exploitation is structurally impossible. The vulnerability is triggered specifically when prepare_peercred() returns a failure after unix_create1() has allocated the peer socket; this error condition may require specific system states such as credential namespace exhaustion, user namespace restrictions, or SELinux/AppArmor policy denials on credential operations. The flaw is not triggered on every UNIX socket connection - only on the subset of connection attempts where prepare_peercred() fails. Exploitation is further limited by: the requirement for local interactive or programmatic access; no confidentiality or integrity impact (memory leak only); and the gradual rather than immediate nature of the availability impact, meaning a single trigger does not cause denial of service.

Impact

CVSS 5.5 Medium (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) correctly characterises this as a local-only, low-complexity flaw requiring standard user privileges with purely availability impact. EPSS 0.02% at the 4th percentile strongly aligns with the local-only attack surface - remote mass exploitation is structurally impossible. This vulnerability is not listed in CISA KEV, and no POC code has been identified. Real-world priority is low for most environments: an attacker must already hold a local shell, and the impact is a gradual kernel memory leak rather than immediate code execution or data access. The 'Information Disclosure' tag applied by the intelligence source appears inconsistent with CVSS C:N and the description, which describes only memory exhaustion - this tag should be treated as a data quality issue, not a confirmed impact. The primary concern is availability degradation on long-running systems where the leak accumulates, making this a higher priority for multi-tenant or shared compute environments where untrusted local users exist.

Exploit ScenarioDerived

A local user with a standard shell account repeatedly initiates UNIX domain stream socket connection attempts in a way that causes prepare_peercred() to return an error - for example by operating within constrained credential namespaces or exhausting per-namespace credential limits - causing each failed attempt to leave an unreleased newsk socket object on the kernel heap. Over time, the accumulated leaked objects exhaust kernel memory, degrading system stability and potentially causing out-of-memory conditions or denial of service for other processes. No public exploit code exists for this vulnerability at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Jun 25, 2026

Memory leak in the Linux kernel's af_unix subsystem allows a local low-privileged user to exhaust kernel memory by repeatedly triggering a failure path in unix_stream_connect(). When prepare_peercred() fails after unix_create1() has already allocated a new socket object (newsk), the error path omits the required unix_release_sock() call, leaving kernel memory permanently unreleased. No public exploit has been identified at time of analysis; EPSS at 0.02% (4th percentile) reflects negligible widespread exploitation likelihood, consistent with the local-only attack vector.

RemediationAI

Upgrade the Linux kernel to a patched version: 6.18.14, 6.19.4, or 7.0, as confirmed by EUVD-2026-32353. The three upstream stable fix commits are available at https://git.kernel.org/stable/c/365996a2b14d07caa9e33d367b67ea26c09d89b4, https://git.kernel.org/stable/c/a5d95d7caba0160fb7b2b8d2bd96d5a1be861d9f, and https://git.kernel.org/stable/c/6884028cd7f275f8bcb854a347265cb1fb0e4bea. Enterprise Linux distributions (RHEL, SUSE, Debian, Ubuntu) are expected to backport this fix to their respective long-term support kernels; consult vendor-specific errata for patched package builds. If an immediate kernel upgrade is not possible, restricting untrusted local user access to UNIX domain socket creation via seccomp-bpf profiles or network namespace isolation can limit the exploitable attack surface, with the trade-off that applications relying on UNIX sockets in those namespaces will be affected. Monitoring kernel slab memory growth (via /proc/slabinfo or slabtop) can help detect active leak accumulation until patching is completed.

Affected VersionsENISA

Linux fd0a109a0f6b7524543d17520da92a44a9f5343c <365996a2b14d07caa9e33d367b67ea26c09d89b4
Linux patch: 7.0
Linux fd0a109a0f6b7524543d17520da92a44a9f5343c <a5d95d7caba0160fb7b2b8d2bd96d5a1be861d9f
Linux patch: 6.19.4
Linux patch: 6.18.14
Linux fd0a109a0f6b7524543d17520da92a44a9f5343c <6884028cd7f275f8bcb854a347265cb1fb0e4bea
Linux patch: 0
Linux 6.16

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 af_unix UNIX domain socket subsystem of the Linux kernel, specifically in the unix_stream_connect() function path. CWE-401 (Missing Release of Memory after Effective Lifetime) describes the root cause: unix_create1() allocates a new peer socket (newsk) before prepare_peercred() is called to set up credential state; if prepare_peercred() returns an error, the error-handling branch does not invoke unix_release_sock() to free the already-allocated socket object, producing a permanent kernel heap memory leak. The upstream fix relocates the prepare_peercred() call to before unix_create1() so that a credential failure exits cleanly without any socket object having been allocated. Affected CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*, spanning all builds from the introducing commit fd0a109a0f6b7524543d17520da92a44a9f5343c up to the respective stable-branch fix commits.

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 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local attack vector and PR:L confirmed because only an authenticated local user can initiate UNIX domain socket connections; impact is availability-only as the flaw causes kernel memory exhaustion with no data exposure or integrity effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jun 25, 2026 - 21:22 NVD
5.5 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)
CVE Published
May 27, 2026 - 14:17 nvd
MEDIUM 5.5

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

af_unix: Fix memleak of newsk in unix_stream_connect().

When prepare_peercred() fails in unix_stream_connect(), unix_release_sock() is not called for newsk, and the memory is leaked.

Let's move prepare_peercred() before unix_create1().

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel underpins the vast majority of servers, containers, and cloud infrastructure globally
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

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