Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access to V4L2 decoder device
-
DeliveryDecode non-32-aligned video stream
-
ExploitFirmware overflows undersized capture plane
-
ExecutionCorrupt adjacent kernel memory
-
ImpactEscalate privileges or crash kernel
Vulnerability Assessment
| Exploitation Conditions | Requires local access to the Amlogic meson VDEC V4L2 m2m decoder (CONFIG_VIDEO_MESON_VDEC) on affected Amlogic GXL-class SoCs (tested S905X / GXL p212), and decoding a stream whose width is not a multiple of 32 (e.g. 720x360 NV12M) so the ALIGN(width,32) canvas the hardware fills exceeds the raw width x height plane size; 1280x720 and 1920x1080 are explicitly NOT affected because they are already 32-aligned. Limiting factors: no network vector (local only, PR:L from CVSS so authenticated local access to the video device is required), hardware-specific to Amlogic decoders, and the overflow only triggers on non-32-aligned resolutions, so default playback of common aligned resolutions does not reach it. |
| Impact | The signals are consistent and point to a genuine but lower-tier, locally-scoped kernel memory-safety bug rather than a mass-exploitation priority. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.8 HIGH) is driven entirely by the local attack vector and the full CIA impact typical of kernel memory corruption - there is no network reachability. The description confirms the mechanism: amvdec_set_canvases() makes the hardware write an ALIGN(width,32) x ALIGN(height,32) canvas while get_output_size() sizes the capture plane from raw width x height, so for non-32-aligned widths the decoder writes past the undersized DMA buffer (an out-of-bounds write / heap corruption). EPSS is low (0.19%, 9th percentile) and the CVE is NOT in CISA KEV, with no PoC referenced - so this is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_week,' which combined with low EPSS and no KEV reflects a patch-management cadence rather than emergency response. Note a data conflict: the input Tags label this 'Information Disclosure,' but the described flaw is a write-past-buffer (memory corruption), not a disclosure primitive - the tag appears mislabeled and should not be treated as confirming an info-leak. Overall: a real local kernel bug worth patching on affected Amlogic hardware in the normal stable-update cycle, not a drop-everything issue. |
| Exploit ScenarioDerived | A local user with access to the Amlogic V4L2 m2m decoder device decodes a crafted stream whose width is not a multiple of 32 (e.g. 720x360 NV12M), causing the decoder firmware to write a full aligned canvas past the undersized capture plane and corrupt adjacent kernel memory, which could be shaped toward privilege escalation or a kernel crash. No public exploit is identified; the defect was surfaced through normal playback failures (drmModeAddFB2() returning -EINVAL). Exploitation requires local access, Amlogic GXL-class hardware with this driver, and a non-32-aligned resolution, which limits reach. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Out-of-bounds kernel memory writes occur in the Amlogic meson video decoder (CONFIG_VIDEO_MESON_VDEC) when a decoded stream's width is not a multiple of 32, because capture plane buffers are sized from raw width x height while the hardware actually fills an ALIGN(width,32) x ALIGN(height,32) canvas. A local attacker with low privileges who can push a non-32-aligned resolution such as 720x360 NV12M through the V4L2 memory-to-memory decoder on GXL-class SoCs (tested S905X / p212) overruns the luma plane by roughly 2.8 KB per frame, enabling kernel memory corruption and also breaking DRM PRIME imports so drmModeAddFB2() returns -EINVAL and playback shows a black screen. Vendor fixes are released in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 and 7.4-rc1; EPSS is 0.19% (9th percentile) with no confirmed active exploitation and no public exploit identified at time of analysis.
RemediationAI
Apply the vendor fix by upgrading to a kernel release that contains the aligned-canvas plane sizing: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1, or cherry-pick the corresponding stable commit (for example https://git.kernel.org/stable/c/cb46dc57d169509e69a3e218e970785c2b79f7f8) if staying on a vendor kernel, such as LibreELEC or other Amlogic distributions that carry their own trees. The overflow is only triggered by decoding a stream whose width is not a multiple of 32, so until a patched kernel is running the documented way to avoid it is to avoid decoding non-32-aligned resolutions; 1280x720 and 1920x1080 are explicitly unaffected. Exposure is further bounded because the trigger requires local access to the decoder device (CVSS PR:L) on Amlogic GXL-class hardware, so restricting who can open and feed the relevant /dev/video* nodes limits reachability to the vulnerable path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The meson vdec driver is the V4L2 memory-to-memory stateless decoder used for Amlogic GXL-family video hardware. amvdec_set_canvases() programs the decoder to write a full canvas of ALIGN(width, 32) x ALIGN(height, 32) and reports bytesperline = ALIGN(width, 32), but get_output_size() derived sizeimage from the unaligned raw width x height. For 720x360 NV12M the luma plane was allocated at 262144 bytes while 736 x 360 = 264960 bytes are required for the advertised stride, and 282624 bytes for the canvas the firmware fills, so the decoder writes past the plane allocation. Because the capture buffers can be exported as dma-buf and imported into DRM via PRIME, the mismatch is also visible to userspace as an -EINVAL from drmModeAddFB2() and a black screen with working audio. The flaw is a plane-size/stride alignment miscalculation (an out-of-bounds write class issue; the source data assigns no CWE). The driver has existed since Linux 5.3, and the fix instead sizes the capture planes from the aligned canvas the hardware actually uses. 1280x720 and 1920x1080 are explicitly unaffected because those widths are already 32-aligned.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local-only V4L2 decoder access gives AV:L/PR:L; deterministic overflow on non-32-aligned width gives AC:L; kernel heap corruption supports C/I/A:H.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
media: meson: vdec: size capture planes from the aligned canvas
The decoder writes a whole canvas of ALIGN(width, 32) x ALIGN(height, 32) (amvdec_set_canvases()) and reports bytesperline = ALIGN(width, 32), but get_output_size() derives sizeimage from the raw width x height.
When the width is not a multiple of 32 the planes are too small for the advertised stride: for 720x360 NV12M the luma plane is 262144 bytes while 736 * 360 = 264960 are needed (282624 for the canvas the firmware fills). The decoder writes past the buffer, and importing the capture dma-buf into DRM fails: drmModeAddFB2() returns -EINVAL, so e.g. Kodi plays the sound over a black screen. 1280x720 and 1920x1080 are not affected.
Size the planes from the aligned canvas the hardware actually uses.
Tested on an S905X (GXL p212) board with LibreELEC 12 (6.16.0-rc3): 720x360 and 1920x1080 H.264 play through V4L2 m2m + DRM PRIME with no AddFB2 errors.
Executive ViewAI
A high-severity kernel memory write vulnerability in the Amlogic video decoder used in certain set-top boxes and embedded devices could allow a local attacker to corrupt kernel memory, potentially leading to privilege escalation or system instability. While no active exploitation has been observed, the flaw affects devices with GXL-class SoCs and requires a patch to prevent both security and functional playback issues.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-138617
GHSA-m68q-2pcx-2gj4
NVD
CVE.org
EPSS
Exploit-DB