CVE-2026-31748 comedi: me_daq: Fix potential overrun of firmware buffer

High 7.8 Published Updated

A buffer overrun in the Linux kernel me_daq driver allows attackers to corrupt memory via crafted firmware, potentially leading to code execution or system crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31748?

CVE-2026-31748 is a high-severity memory corruption vulnerability in Linux kernel, published on 1 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

comedi: me_daq: Fix potential overrun of firmware buffer

`me2600_xilinx_download()` loads the firmware that was requested by `request_firmware()`. It is possible for it to overrun the source buffer because it blindly trusts the file format. It reads a data stream length from the first 4 bytes into variable `file_length` and reads the data stream contents of length `file_length` from offset 16 onwards. Although it checks that the supplied firmware is at least 16 bytes long, it does not check that it is long enough to contain the data stream.

Add a test to ensure that the supplied firmware is long enough to contain the header and the data stream. On failure, log an error and return `-EINVAL`.

Weakness: CWE-787

Which versions are affected by CVE-2026-31748?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31748?

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-2026-31748 being exploited?

There is no known exploitation of CVE-2026-31748 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-31748, DEBIAN-CVE-2026-31748, GHSA-p8vf-hr52-wpwh, ROOT-OS-DEBIAN-11-CVE-2026-31748, ROOT-OS-UBUNTU-2204-CVE-2026-31748, ROOT-OS-UBUNTU-2404-CVE-2026-31748 and 1 more.

Is CVE-2026-31748 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free