# CVE-2025-37891: ALSA: ump: Fix buffer overflow at UMP SysEx message conversion

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-05-19T07:19:04.583Z
- Modified: 2026-10-15T22:18:20.240Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0b5288f5fe63eab687c14e5940b9e0d532b129f2 before ce4f77bef276e7d2eb7ab03a5d08bcbaa40710ec; from 0b5288f5fe63eab687c14e5940b9e0d532b129f2 before 226beac5605afbb33f8782148d188b64396145a4; from 0b5288f5fe63eab687c14e5940b9e0d532b129f2 before 42ef48dd4ebb082a1a90b5c3feeda2e68a9e32fe; from 0b5288f5fe63eab687c14e5940b9e0d532b129f2 before 56f1f30e6795b890463d9b20b11e576adf5a2f77; 6.5 (not affected: before 6.5; from 6.6.90 up to 6.6.*; from 6.12.28 up to 6.12.*; from 6.14.6 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.5 before 6.6.90; from 6.7 before 6.12.28; from 6.13 before 6.14.6; 6.15

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/ce4f77bef276e7d2eb7ab03a5d08bcbaa40710ec> (patch)
- <https://git.kernel.org/stable/c/226beac5605afbb33f8782148d188b64396145a4> (patch)
- <https://git.kernel.org/stable/c/42ef48dd4ebb082a1a90b5c3feeda2e68a9e32fe> (patch)
- <https://git.kernel.org/stable/c/56f1f30e6795b890463d9b20b11e576adf5a2f77> (patch)

## Sources

- CVE List: [CVE-2025-37891](https://www.cve.org/CVERecord?id=CVE-2025-37891), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-37891](https://nvd.nist.gov/vuln/detail/CVE-2025-37891), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-37891 · Whole record: https://cve.day/CVE-2025-37891.json · Rebuilt by cve.day 2026-11-25T22:58:58.205Z
