REDHAT-BUG-2486733: Integer Overflow
GStreamer VMnc decoder signed integer overflow vulnerability. In vmncdec.c (gst-plugins-bad), at line 408, the cursor payload size computation datalen += rect->width rect->height dec->format.bytesperpixel 2 uses signed 32-bit arithmetic. A crafted VMnc stream with large cursor dimensions (e.g., 65535 x 65535) overflows the signed multiplication to a negative value, causing datalen to become small or negative. The check if (len < datalen) then passes, gmalloc(size) allocates a tiny buffer, but the rendering loop in rendercolourcursor() uses the original large width/height values (dec->cursor.width = 65535) to iterate, reading far beyond the tiny allocated buffer into adjacent heap memory. Upstream confirmed by maintainer Sebastian Dröge (2026-06-02): "Confirmed, integer overflow that leads to OOB reads. Can lead to crashes or possibly information disclosure, and can be triggered from specially crafted files." Fix planned for GStreamer 1.28.4. Upstream issue: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/workitems/5107 (confidential). Reported via PSIRTSUPT-17026 by JUNYI LIU / Moss (moss80199).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GStreamer (gst-plugins-bad) VMnc decoder (vmncdec.c)to a version that resolves this vulnerability.Fixed in 1.28.4Patch PSIRTSUPT-17026
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2486733?
The severity of REDHAT-BUG-2486733 is high with a score of 7.
How do I fix REDHAT-BUG-2486733?
To fix REDHAT-BUG-2486733, update GStreamer gst-plugins-bad to the latest version that addresses this vulnerability.
What type of vulnerability is identified in REDHAT-BUG-2486733?
REDHAT-BUG-2486733 is identified as an Integer Overflow vulnerability.
What software is affected by REDHAT-BUG-2486733?
The software affected by REDHAT-BUG-2486733 is GStreamer gst-plugins-bad specifically the vmncdec component.
What is the underlying cause of the vulnerability in REDHAT-BUG-2486733?
The underlying cause of REDHAT-BUG-2486733 is a signed integer overflow in the cursor payload size computation within vmncdec.c.