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

High 8.8 Published Updated

Remote attackers can execute arbitrary code via heap-based buffer overflow in GStreamer's PGS subtitle file parsing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-37328?

CVE-2023-37328 is a high-severity memory corruption vulnerability in Gstreamer Gstreamer, published on 3 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-122

Which versions are affected by CVE-2023-37328?

It affects 1 product.

Linux distribution packages (22)
gstreamer1-plugins-base AlmaLinux:8All versions1.16.1-3.el8
gstreamer1-plugins-base-devel AlmaLinux:8All versions1.16.1-3.el8
gstreamer1-plugins-base AlmaLinux:9All versions1.22.1-2.el9
gstreamer1-plugins-base-devel AlmaLinux:9All versions1.22.1-2.el9
gstreamer1-plugins-base-tools AlmaLinux:9All versions1.22.1-2.el9
gstreamer1-plugins-base Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-base-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-base-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-base-devel Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-base-tools-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.16.1-3.el8
gstreamer1-plugins-base Red Hat:enterprise_linux:9::appstreamAll versions0:1.22.1-2.el9
gstreamer1-plugins-base-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.22.1-2.el9
gstreamer1-plugins-base-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:1.22.1-2.el9
gstreamer1-plugins-base-devel Red Hat:enterprise_linux:9::appstreamAll versions0:1.22.1-2.el9
gstreamer1-plugins-base-tools Red Hat:enterprise_linux:9::appstreamAll versions0:1.22.1-2.el9
gstreamer1-plugins-base-tools-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.22.1-2.el9
gstreamer1-plugins-base Rocky Linux:8All versions0:1.16.1-3.el8
gstreamer1-plugins-base Rocky Linux:9All versions0:1.22.1-2.el9
gstreamer-plugins-base SUSE:Linux Enterprise Server 12 SP5All versions1.8.3-13.12.1
gstreamer-plugins-base SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.8.3-13.12.1
gstreamer-plugins-base SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.8.3-13.12.1
gstreamer-plugins-base SUSE:Linux Enterprise Workstation Extension 12 SP5All versions1.8.3-13.12.1

Products include Gstreamer Gstreamer.

How do I fix CVE-2023-37328?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-37328 being exploited?

There is no known exploitation of CVE-2023-37328 in the wild and no public exploit code.

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as ALSA-2024:2302, ALSA-2024:3088, BELL-CVE-2023-37328, CLSA-2025-1751141865, DEBIAN-CVE-2023-37328, DLA-3504-1 and 14 more.

Is CVE-2023-37328 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free