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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-12-08T01:19:07.318Z
- Modified: 2026-08-05T09:15:46.862Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 590577a4e5257ac3ed72999a94666ad6ba8f24bc before 48e4e06e2c5fe1fda283d499f91492eda2248bb9; from 590577a4e5257ac3ed72999a94666ad6ba8f24bc before b8e19bf3b4aebd855be01b64674187dcf6d1db51; from 590577a4e5257ac3ed72999a94666ad6ba8f24bc before 8fbcf730cb89c3647f3365226fe7014118fa93c7; 4.10 (not affected: before 4.10; from 6.1.30 up to 6.1.*; from 6.3.4 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/48e4e06e2c5fe1fda283d499f91492eda2248bb9>
- <https://git.kernel.org/stable/c/b8e19bf3b4aebd855be01b64674187dcf6d1db51>
- <https://git.kernel.org/stable/c/8fbcf730cb89c3647f3365226fe7014118fa93c7>

## Sources

- CVE List: [CVE-2023-53748](https://www.cve.org/CVERecord?id=CVE-2023-53748), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-53748](https://nvd.nist.gov/vuln/detail/CVE-2023-53748), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-53748 · Whole record: https://cve.day/CVE-2023-53748.json · Rebuilt by cve.day 2026-11-25T22:58:35.042Z
