Skip to main content

Linux Kernel CVE-2026-63957

| EUVDEUVD-2026-45730 HIGH
Out-of-bounds Write (CWE-787)
2026-07-19 Linux GHSA-6392-wc5j-gpp8
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Attach malicious USB serial device
  2. Exploit
    Device reports undersized bulk-out endpoint
  3. Execution
    Trigger out-of-bounds slab write in safe_serial 'safe' mode
  4. Impact
    Corrupt kernel heap for privilege escalation

Vulnerability Assessment

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

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Exploitation requires an attacker-supplied USB device that enumerates as a serial device bound to the safe_serial driver operating in 'safe' mode and that reports a bulk-out endpoint smaller than eight bytes, which drives the out-of-bounds slab write. Limiting factors that sharply reduce realistic risk: the attacker needs physical USB attachment (or control of an attached device), the safe_serial module must be loaded and bound to the device (a non-default, niche configuration on virtually all modern systems), and the device must present the malformed endpoint descriptor. There is no network reachability and no default-configuration exposure.

Impact

The CVSS base score of 7.8 (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H) frames this as a high-severity local out-of-bounds write (CWE-787), but the supporting signals point to a much narrower real-world priority. The description states the corruption occurs 'should a malicious device report a smaller size' while bound to the safe_serial driver in 'safe' mode - i.e., the trigger is an attacker-controlled USB device, not a logged-in local user. This conflicts with the supplied AV:L/PR:L metrics: the mechanism described is physical-interface (malicious USB peripheral) rather than a privileged local account, so the input vector likely overstates remote/local reachability - verify attack vector against the actual USB enumeration path. EPSS is low (0.21%, 11th percentile) and the CVE is NOT in CISA KEV, with no public exploit identified, which is consistent with an issue that requires physical device attachment plus a rarely-loaded driver. The vuln.today decision label is 'this_week' (not act_now/emergency), aligning with a patch-on-cadence posture rather than an active-exploitation fire drill. Net assessment: a genuine kernel memory-corruption bug worth patching, but its real-world exploitability is gated by physical access and a niche driver, making it far lower priority than the 7.8 score suggests for the vast majority of deployments. Fixes are available across stable branches (6.12.93, 7.0.12, 6.18.35, 7.1, 6.6.143, 6.1.176, 5.15.210, 5.10.259).

Exploit ScenarioDerived

An attacker with physical access connects a malicious or emulated USB device that enumerates as a serial device handled by the safe_serial driver and advertises a bulk-out endpoint smaller than eight bytes. In 'safe' mode the kernel then writes past the undersized slab buffer, corrupting kernel heap memory and potentially enabling privilege escalation or code execution in kernel context. No public exploit was identified at the time of analysis.

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

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

Alert me

AnalysisAIv1 – Oct 30, 2026

An out-of-bounds slab write in the Linux kernel's USB safe_serial driver lets a malicious USB serial device corrupt kernel memory, because the driver sizes its bulk-out buffer from the endpoint descriptor supplied by the device and fails to enforce a minimum of eight bytes when operating in 'safe' mode. All kernel releases from the 2.6.12 git baseline onward are affected until the per-branch fixes landed in 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12 and 7.1. Exploitation requires physically attaching (or controlling) a device that enumerates as a safe_serial device in safe mode with a malformed small bulk-out endpoint, and requires the safe_serial module to be loaded and bound - a non-default, niche configuration - so despite the 7.8 base score the real-world priority is narrow; no public exploit has been identified at time of analysis and EPSS is 0.21% (11th percentile).

RemediationAI

Vendor-released patches exist for every maintained branch: upgrade to Linux 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12 or 7.1 (or the equivalent kernel package version from your distribution, e.g. via Ubuntu USN-8593-1 at https://ubuntu.com/security/notices/USN-8593-1); the upstream fixes are the stable commits listed in the kernel.org references. Because safe_serial is a niche driver, systems that do not use safe-mode USB serial devices can eliminate exposure by preventing the module from loading - for example building the kernel without CONFIG_USB_SERIAL_SAFE or adding modprobe.blacklist=safe_serial (or a modprobe.d blacklist entry) - with the trade-off that legitimate safe_serial hardware will then be unusable until the module is loaded again. Restricting physical USB port access to trusted devices and blocking untrusted device attachment remains the only barrier to the descriptor-supplied trigger, since the flaw is reachable solely through a locally attached malicious USB device; neither mitigation substitutes for installing the patched kernel.

Affected VersionsENISA

Linux patch: 6.12.93
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9b3145b3001fb24de1da72d1deb0bea70e5a078b
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <161ea0e5236f5f051d2d85d6c54dd08ee9dc7ba4
Linux patch: 7.0.12
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f793b67d41e5fab719c5a90baa77cbd2fe259517
Linux patch: 6.18.35
Linux patch: 7.1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a550ed2117ca4709d38f713933ff924a83942e41
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e3a1d6eee25dc96b1d2db0ecd9d8741e92056476
Linux patch: 5.10.259
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <857b3cc73f91871ae4433f8b97c4670b78f8dc96
Linux patch: 0
Linux patch: 6.6.143
Linux patch: 5.15.210
Linux 2.6.12
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <438061ed1ad85e6743e2dce826671772d81089ec
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c7336c0fba5c959249f3d793d33076b992ec3ee4
Linux patch: 6.1.176

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 flaw is a classic CWE-787 out-of-bounds write rooted in trust of device-provided USB descriptors. The safe_serial driver (drivers/usb/serial/safe_serial.c) implements an encrypted/authenticated wrapper over a USB serial link; in its 'safe' mode it allocates a bulk-out buffer whose length is derived from the bNumEndpoints/wMaxPacketSize information reported by the attached device rather than from a fixed floor. When a malicious device advertises a bulk-out endpoint smaller than eight bytes, subsequent writes into that buffer overrun the slab allocation, giving the device-side attacker controlled kernel heap corruption. The trigger is descriptor-driven and occurs at the USB serial probe/data path; no network reachability exists. The affected code has been present since the kernel's 2.6.12-era git baseline (commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2), which is why the stable backports span every maintained branch. CPE entries (cpe:2.3:a:linux:linux) confirm the scope is the upstream kernel itself rather than a distro-specific package, and downstream fixes are distributed via distribution advisories such as Ubuntu's USN-8593-1.

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

Trigger is a malicious attached USB device (AV:P) needing no account (PR:N); kernel-heap corruption yields full C/I/A impact in an unchanged scope.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Oct 30, 2026 - 14:37 NVD
7.8 (HIGH)
Patch available
Jul 19, 2026 - 17:19 EUVD
CVE Published
Jul 19, 2026 - 14:55 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 14:55 nvd
HIGH 7.8

DescriptionNVD

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

USB: serial: safe_serial: fix memory corruption with small endpoint

Make sure that the bulk-out buffer size is at least eight bytes to avoid user-controlled slab corruption in "safe" mode should a malicious device report a smaller size.

Executive ViewAI

Why It Matters

This vulnerability allows a malicious USB serial device to corrupt Linux kernel memory when the non-default safe_serial driver is loaded and bound in safe mode. Because exploitation demands physical device access and a niche kernel configuration, the organizational risk is limited to specific environments; leadership should prioritize mitigation only where such drivers are used on critical systems.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel runs everywhere, though the safe_serial driver is rarely loaded
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
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

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

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