CVE-2025-38495 HID: core: ensure the allocated report buffer can contain the reserved report ID

High 8.8 Published Updated

A buffer overflow in the Linux kernel HID core allows attackers to corrupt memory, potentially leading to code execution or system crashes.

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

What is CVE-2025-38495?

CVE-2025-38495 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 28 Jul 2025. 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:

HID: core: ensure the allocated report buffer can contain the reserved report ID

When the report ID is not used, the low level transport drivers expect the first byte to be 0. However, currently the allocated buffer not account for that extra byte, meaning that instead of having 8 guaranteed bytes for implement to be working, we only have 7.

Which versions are affected by CVE-2025-38495?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38495?

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-38495 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-65916, AZL-73464, BELL-CVE-2025-38495, DEBIAN-CVE-2025-38495, GHSA-42gx-8xq5-j4pf, ROOT-OS-DEBIAN-11-CVE-2025-38495 and 4 more.

Is CVE-2025-38495 in your software?

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

Check your SBOMs for free