media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.30, 6.3.4
- CVEs
- CVE-2023-53748
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 13:21 UTC · Revision 1
Source evidence
media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup
core-osv · Original sourcePublished 8 Dec 2025, 01:19 UTC
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.
osv:CVE-2023-53748
Kernel
Fixed versions: 6.1.30, 6.3.4
Complete source record
{
"id": "3d47db538501fcbe9b2d7cb163b7b32b65dd85fc2e1be94261c8d206c87915e5",
"url": "https://osv.dev/vulnerability/CVE-2023-53748",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup",
"summary": "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.",
"evidence": "osv:CVE-2023-53748",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.30",
"evidence": "/affected/1/ranges"
},
{
"value": "6.3.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-53748",
"aliases": [
"CVE-2023-53748"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "590577a4e5257ac3ed72999a94666ad6ba8f24bc"
},
{
"fixed": "48e4e06e2c5fe1fda283d499f91492eda2248bb9"
},
{
"fixed": "b8e19bf3b4aebd855be01b64674187dcf6d1db51"
},
{
"fixed": "8fbcf730cb89c3647f3365226fe7014118fa93c7"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53748.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.10.0"
},
{
"fixed": "6.1.30"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.3.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53748.json"
}
}
],
"modified": "2026-10-28T02:30:35.549338802Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/48e4e06e2c5fe1fda283d499f91492eda2248bb9",
"https://git.kernel.org/stable/c/8fbcf730cb89c3647f3365226fe7014118fa93c7",
"https://git.kernel.org/stable/c/b8e19bf3b4aebd855be01b64674187dcf6d1db51",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53748.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53748",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53748.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53748",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 502990,
"published_at": "2025-12-08T01:19:07.318+00:00"
}