Skip to content
OpenAdvisories
High · 8.8 CVE-2023-37328 EUVD-2023-41232GHSA-cvqg-h5hx-c2m4

GStreamer PGS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published May 3, 2024 · Updated Nov 4, 2025 · Assigned by zdi

Description

GStreamer PGS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the parsing of PGS subtitle files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
. Was ZDI-CAN-20994.

Affected products

VendorProductAffectedFixed
GStreamer GStreamer 1.22 and latest commit 6dff93acf69c40271a769aa2fa35efbcc2aeb9b4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gst-plugins-base1.0 1.22.4-1 —
Debian 13 gst-plugins-base1.0 1.22.4-1 —
Debian 12 gst-plugins-base1.0 1.22.0-3+deb12u1 DSA-5443-1
Debian 11 gst-plugins-base1.0 1.18.4-2+deb11u1 DSA-5443-1
Debian 10 gst-plugins-base1.0 1.14.4-2+deb10u2 DLA-3504-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS gst-plugins-base1.0 1.20.1-1ubuntu0.1 USN-6268-1
Ubuntu 20.04 LTS gst-plugins-base1.0 1.16.3-0ubuntu1.2 USN-6268-1
Ubuntu 16.04 LTS gst-plugins-base0.10 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS gst-plugins-base1.0 1.14.5-0ubuntu1~18.04.3+esm1 USN-7807-1
Ubuntu Pro 16.04 LTS gst-plugins-base1.0 1.8.3-1ubuntu0.3+esm2 USN-7807-1
ReleasePackageFixed inAdvisory
RHEL 9 gstreamer1-plugins-base +2 1.22.1-2.el9 RHSA-2024:2302
RHEL 8 gstreamer1-plugins-base +1 1.16.1-3.el8 RHSA-2024:3088

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 gstreamer1-plugins-base +2 1.22.1-2.el9 ALSA-2024:2302
AlmaLinux 8 gstreamer1-plugins-base +1 1.16.1-3.el8 ALSA-2024:3088

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 gstreamer1-plugins-base 1.22.1-2.el9 RLSA-2024:2302
Rocky Linux 8 gstreamer1-plugins-base 1.16.1-3.el8 RLSA-2024:3088
ReleasePackageFixed inAdvisory
SLES 15 SP5 gstreamer-plugins-base 1.22.0-150500.3.3.1 SUSE-SU-2023:3250-1
SLES 15 SP4 gstreamer-plugins-base 1.20.1-150400.3.3.1 SUSE-SU-2023:3221-1
SLES 15 SP3 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
SLES 15 SP2 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
SLES 15 SP1 gstreamer-plugins-base 1.12.5-150000.3.6.1 SUSE-SU-2023:3801-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 gstreamer-plugins-base 1.8.3-13.9.1 SUSE-SU-2023:3402-1, SUSE-SU-2023:3236-1
SLES 12 SP2 gstreamer-plugins-base 1.8.3-13.9.1 SUSE-SU-2023:3236-1
SLES for SAP 15 SP3 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
SLES for SAP 15 SP2 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
SLES for SAP 15 SP1 gstreamer-plugins-base 1.12.5-150000.3.6.1 SUSE-SU-2023:3801-1
SLES for SAP 12 SP5 gstreamer-plugins-base 1.8.3-13.9.1 SUSE-SU-2023:3402-1, SUSE-SU-2023:3236-1
SLE Micro 5.4 gstreamer-plugins-base 1.20.1-150400.3.3.1 SUSE-SU-2023:3221-1
SLE Micro 5.3 gstreamer-plugins-base 1.20.1-150400.3.3.1 SUSE-SU-2023:3221-1
SLE Micro 5.2 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
SLE HPC 15 SP3 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
SLE HPC 15 SP2 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
SLE HPC 15 SP1 gstreamer-plugins-base 1.12.5-150000.3.6.1 SUSE-SU-2023:3801-1
SUSE Manager Server 4.2 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
SUSE Manager Proxy 4.2 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
SUSE Enterprise Storage 7.1 gstreamer-plugins-base 1.16.3-150200.4.9.2 SUSE-SU-2023:3265-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 gstreamer-plugins-base 1.22.0-150500.3.3.1 SUSE-SU-2023:3250-1
openSUSE Leap 15.4 gstreamer-plugins-base 1.12.5-150000.3.6.1 SUSE-SU-2023:3801-1, SUSE-SU-2023:3265-1, SUSE-SU-2023:3221-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 gstreamer-plugins-base 1.20.1-150400.3.3.1 SUSE-SU-2023:3221-1
openSUSE Leap Micro 5.3 gstreamer-plugins-base 1.20.1-150400.3.3.1 SUSE-SU-2023:3221-1
ReleasePackageFixed inAdvisory
Alpine v3.24 gst-plugins-bad 1.22.4-r0 —
Alpine v3.23 gst-plugins-bad 1.22.4-r0 —
Alpine v3.22 gst-plugins-bad 1.22.4-r0 —
Alpine v3.21 gst-plugins-bad 1.22.4-r0 —
Alpine v3.20 gst-plugins-bad 1.22.4-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gst-plugins-bad 1.22.4-r0 —
Alpine v3.18 gst-plugins-bad 1.22.4-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 gstreamer1-plugins-base +2 1.18.4-5.amzn2.0.2 ALAS2-2023-2120

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 gstreamer1-plugins-base +2 1.22.1-2.el9 ELSA-2024-2302
Oracle Linux 8 gstreamer1-plugins-base +1 1.16.1-3.0.1.el8 ELSA-2024-3088

Advisories 20

References