CVE-2023-53748 media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup

High 7.1 Published Updated

A local attacker can trigger an array out-of-bounds write in the MediaTek video codec driver, potentially leading to code execution or privilege escalation.

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-2023-53748?

CVE-2023-53748 is a high-severity memory corruption vulnerability in Linux, published on 8 Dec 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: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup

variable *nplanes is provided by user via system call argument. The possible value of q_data->fmt->num_planes is 1-3, while the value of *nplanes can be 1-8. The array access by index i can cause array out-of-bounds.

Fix this bug by checking *nplanes against the array size.

Which versions are affected by CVE-2023-53748?

How do I fix CVE-2023-53748?

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-2023-53748 being exploited?

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

Sources

Also known as BELL-CVE-2023-53748, DEBIAN-CVE-2023-53748, GHSA-5682-9vmg-wm34, ROOT-OS-DEBIAN-11-CVE-2023-53748, ROOT-OS-UBUNTU-2204-CVE-2023-53748, UBUNTU-CVE-2023-53748.

Is CVE-2023-53748 in your software?

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

Check your SBOMs for free