Bug 2486731 (CVE-2026-52720) - CVE-2026-52720 gstreamer1-plugins-bad-free: GStreamer: Heap buffer overflow via crafted VNC server rectangle in librfb
Summary: CVE-2026-52720 gstreamer1-plugins-bad-free: GStreamer: Heap buffer overflow v...
Keywords:
Status: NEW
Alias: CVE-2026-52720
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-09 07:33 UTC by OSIDB Bzimport
Modified: 2026-08-03 04:17 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:36749 0 None None None 2026-07-08 13:56:30 UTC
Red Hat Product Errata RHSA-2026:36834 0 None None None 2026-07-08 20:27:22 UTC
Red Hat Product Errata RHSA-2026:37130 0 None None None 2026-07-09 07:40:58 UTC
Red Hat Product Errata RHSA-2026:47069 0 None None None 2026-07-28 15:12:59 UTC
Red Hat Product Errata RHSA-2026:47070 0 None None None 2026-07-28 16:09:15 UTC
Red Hat Product Errata RHSA-2026:47071 0 None None None 2026-07-28 16:15:40 UTC
Red Hat Product Errata RHSA-2026:47075 0 None None None 2026-07-28 12:57:44 UTC
Red Hat Product Errata RHSA-2026:47076 0 None None None 2026-07-28 12:41:59 UTC
Red Hat Product Errata RHSA-2026:47176 0 None None None 2026-07-28 18:29:22 UTC
Red Hat Product Errata RHSA-2026:47717 0 None None None 2026-07-29 19:46:11 UTC
Red Hat Product Errata RHSA-2026:47718 0 None None None 2026-07-29 06:25:00 UTC
Red Hat Product Errata RHSA-2026:49517 0 None None None 2026-08-03 04:17:13 UTC

Description OSIDB Bzimport 2026-06-09 07:33:54 UTC
GStreamer librfb (RFB/VNC client) heap buffer overflow vulnerability. In rfbdecoder.c (gst-plugins-bad), the rectangle bounds check incorrectly validates area rather than individual dimensions: if (((w * h) + (x * y)) > (decoder->width * decoder->height)). A malicious VNC server can send a FramebufferUpdate with crafted x/y/w/h values (e.g., x=0, y=0, w=2000, h=1 on a 1920-wide framebuffer) that pass this check but extend beyond the framebuffer. The raw encoding function then performs memcpy(frame, p, raw_line_size) where raw_line_size = w * bytespp is larger than the framebuffer line, writing past the end of each line into adjacent heap memory. This results in a controlled out-of-bounds heap write. Upstream confirmed by maintainer Sebastian Dröge (2026-06-02): "Confirmed, OOB write. Triggers when connecting to a malicious/broken VNC/RFB server." Fix planned for GStreamer 1.28.4. Upstream issue: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/work_items/5105 (confidential). Reported via PSIRTSUPT-17026 by JUNYI LIU / Moss (moss80199).

Comment 1 errata-xmlrpc 2026-07-08 13:56:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:36749 https://access.redhat.com/errata/RHSA-2026:36749

Comment 2 errata-xmlrpc 2026-07-08 20:27:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:36834 https://access.redhat.com/errata/RHSA-2026:36834

Comment 3 errata-xmlrpc 2026-07-09 07:40:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:37130 https://access.redhat.com/errata/RHSA-2026:37130

Comment 4 errata-xmlrpc 2026-07-28 12:41:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:47076 https://access.redhat.com/errata/RHSA-2026:47076

Comment 5 errata-xmlrpc 2026-07-28 12:57:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:47075 https://access.redhat.com/errata/RHSA-2026:47075

Comment 6 errata-xmlrpc 2026-07-28 15:12:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:47069 https://access.redhat.com/errata/RHSA-2026:47069

Comment 7 errata-xmlrpc 2026-07-28 16:09:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:47070 https://access.redhat.com/errata/RHSA-2026:47070

Comment 8 errata-xmlrpc 2026-07-28 16:15:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:47071 https://access.redhat.com/errata/RHSA-2026:47071

Comment 9 errata-xmlrpc 2026-07-28 18:29:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:47176 https://access.redhat.com/errata/RHSA-2026:47176

Comment 10 errata-xmlrpc 2026-07-29 06:24:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:47718 https://access.redhat.com/errata/RHSA-2026:47718

Comment 11 errata-xmlrpc 2026-07-29 19:46:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:47717 https://access.redhat.com/errata/RHSA-2026:47717

Comment 12 errata-xmlrpc 2026-08-03 04:17:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:49517 https://access.redhat.com/errata/RHSA-2026:49517


Note You need to log in before you can comment on or make changes to this bug.