CVE-2025-68346 ALSA: dice: fix buffer overflow in detect_stream_formats()
A malicious FireWire device can trigger a buffer overflow in the Linux kernel ALSA driver, potentially allowing code execution or system crash.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-68346?
CVE-2025-68346 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ALSA: dice: fix buffer overflow in detect_stream_formats()
The function detect_stream_formats() reads the stream_count value directly from a FireWire device without validating it. This can lead to out-of-bounds writes when a malicious device provides a stream_count value greater than MAX_STREAMS.
Fix by applying the same validation to both TX and RX stream counts in detect_stream_formats().
Which versions are affected by CVE-2025-68346?
How do I fix CVE-2025-68346?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-68346 being exploited?
There is no known exploitation of CVE-2025-68346 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-68346, DEBIAN-CVE-2025-68346, GHSA-f579-g3c4-8j5j, ROOT-OS-DEBIAN-11-CVE-2025-68346, ROOT-OS-DEBIAN-12-CVE-2025-68346, ROOT-OS-DEBIAN-13-CVE-2025-68346 and 3 more.