CVE-2025-23159 media: venus: hfi: add a check to handle OOB in sfr region

High 8.4 Published Updated

A malicious user can trigger an out-of-bounds write in the Venus HFI driver via shared memory, potentially leading to code execution or privilege escalation.

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-23159?

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

media: venus: hfi: add a check to handle OOB in sfr region

sfr->buf_size is in shared memory and can be modified by malicious user. OOB write is possible when the size is made higher than actual sfr data buffer. Cap the size to allocated size for such cases.

Weakness: CWE-787

Which versions are affected by CVE-2025-23159?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-23159?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-23159, DEBIAN-CVE-2025-23159, GHSA-3hvv-xgr4-fr7x, ROOT-OS-DEBIAN-12-CVE-2025-23159, ROOT-OS-UBUNTU-2204-CVE-2025-23159, ROOT-OS-UBUNTU-2404-CVE-2025-23159 and 1 more.

Is CVE-2025-23159 in your software?

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

Check your SBOMs for free