CVE-2025-38077 platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()

High 7.8 Published Updated

A buffer overflow in the Dell WMI sysman driver allows local attackers to execute arbitrary code or escalate privileges via crafted input.

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-2025-38077?

CVE-2025-38077 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 18 Jun 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:

platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()

If the 'buf' array received from the user contains an empty string, the 'length' variable will be zero. Accessing the 'buf' array element with index 'length - 1' will result in a buffer overflow.

Add a check for an empty string.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Weakness: CWE-787

Which versions are affected by CVE-2025-38077?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38077?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-63998, BELL-CVE-2025-38077, DEBIAN-CVE-2025-38077, GHSA-6xx4-fvpc-r9qf, ROOT-OS-DEBIAN-12-CVE-2025-38077, ROOT-OS-UBUNTU-2204-CVE-2025-38077 and 2 more.

Is CVE-2025-38077 in your software?

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

Check your SBOMs for free