CVE-2025-37891

ALSA: ump: Fix buffer overflow at UMP SysEx message conversion

State
Published
Severity
7.8 High
Published
May 19, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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

ALSA: ump: Fix buffer overflow at UMP SysEx message conversion

The conversion function from MIDI 1.0 to UMP packet contains an internal buffer to keep the incoming MIDI bytes, and its size is 4, as it was supposed to be the max size for a MIDI1 UMP packet data. However, the implementation overlooked that SysEx is handled in a different format, and it can be up to 6 bytes, as found in do_convert_to_ump(). It leads eventually to a buffer overflow, and may corrupt the memory when a longer SysEx message is received.

The fix is simply to extend the buffer size to 6 to fit with the SysEx UMP message.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0b5288f5fe63eab687c14e5940b9e0d532b129f2 to before ce4f77bef276e7d2eb7ab03a5d08bcbaa40710ecAffected
  • 0b5288f5fe63eab687c14e5940b9e0d532b129f2 to before 226beac5605afbb33f8782148d188b64396145a4Affected
  • 0b5288f5fe63eab687c14e5940b9e0d532b129f2 to before 42ef48dd4ebb082a1a90b5c3feeda2e68a9e32feAffected
  • 0b5288f5fe63eab687c14e5940b9e0d532b129f2 to before 56f1f30e6795b890463d9b20b11e576adf5a2f77Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.90 through 6.6.*Not affected
  • 6.12.28 through 6.12.*Not affected
  • 6.14.6 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.