Description
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.
Published: 2026-07-19
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Linux kernel’s safe_serial USB serial driver allows a connected device to report a bulk‑out endpoint size smaller than eight bytes. This is a CWE‑131 heap buffer overflow. The driver does not check that the requested buffer size meets this minimum, which results in a heap memory corruption that can overwrite adjacent kernel memory. If the attacker controls the payload, this may lead to arbitrary code execution or privilege escalation.

Affected Systems

All Linux kernel versions that include the vulnerable safe_serial implementation before the fix commit. The vulnerable code resides in the USB serial subsystem; any kernel lacking the bulk‑out size check is at risk.

Risk and Exploitability

The CVSS score of 7.0 indicates medium severity, while the EPSS score of less than 1% suggests a low current probability of exploitation. This vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that the bug is activated only when a malicious USB device reports a small endpoint size and an attacker must be able to connect such a device, implying physical or local access. If exploited, the resulting heap overflow could be leveraged for arbitrary code execution.

Generated by OpenCVE AI on August 4, 2026 at 18:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that enforces a minimum bulk‑out buffer size of eight bytes, as introduced in the referenced commit, to mitigate the buffer overflow (CWE‑131).
  • Verify that all USB serial driver instances perform proper buffer size validation before allocating memory, ensuring the CWE‑131 vulnerability is neutralized.
  • If the patch cannot be applied immediately, unload or disable the unsafe USB serial driver or use udev rules to block untrusted USB devices.
  • Restrict physical access to USB ports or disable the USB controller in the system firmware to prevent insertion of malicious devices.

Generated by OpenCVE AI on August 4, 2026 at 18:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title USB: serial: safe_serial: fix memory corruption with small endpoint
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T14:55:48.196Z

Reserved: 2026-07-19T07:54:57.023Z

Link: CVE-2026-63957

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63957 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:15:03Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size