CVE-2026-52963
Received Received - Intake
BaseFortify

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Bound MIDI endpoint descriptor scans snd_usbmidi_get_ms_info() validates the internal MIDIStreaming endpoint descriptor size before using baAssocJackID[], but the descriptor walker can still return a class-specific endpoint descriptor whose bLength exceeds the remaining bytes in the endpoint-extra scan. That leaves later flexible-array reads bounded by bLength, but not by the remaining bytes in the endpoint-extra scan. Stop walking when bLength is zero or extends past the remaining endpoint-extra scan.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-25
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's ALSA usb-audio component, specifically in how it processes MIDI endpoint descriptors. The function snd_usbmidi_get_ms_info() attempts to validate the size of the internal MIDIStreaming endpoint descriptor before accessing certain data. However, the descriptor scanning process can still return a class-specific endpoint descriptor whose length (bLength) is larger than the remaining bytes available in the scan. This means that subsequent reads, which rely on bLength to determine how much data to read, might read beyond the valid boundary of the data buffer.

The fix involves stopping the scanning process when bLength is zero or when it extends beyond the remaining bytes in the scan, preventing out-of-bounds reads.

Impact Analysis

This vulnerability can lead to out-of-bounds memory reads during the processing of USB MIDI audio device descriptors. Such out-of-bounds reads may cause system instability, crashes, or potentially expose sensitive memory contents to an attacker. This could be exploited by a malicious USB device to compromise the system's security or cause denial of service.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-52963. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart