cve.bz

CVE-2023-40476 gstreamer gstreamer: Stack-based Buffer Overflow

8.8 highEPSS 2.3%Fix available

High (8.8) in gstreamer gstreamer. EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
GStreamer H265 Parsing Stack-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 H265 encoded video files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. . Was ZDI-CAN-21768.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-07-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-40476 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-40476?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-40476?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-40476 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gstreamer:gstreamerbefore 1.22.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10gst-plugins-bad1.01.14.4-1+deb10u4DLA-3633-1
Debian11gst-plugins-bad1.01.18.4-3+deb11u2DSA-5533-1
Debian12gst-plugins-bad1.01.22.0-4+deb12u2DEBIAN-CVE-2023-40476 DSA-5533-1
Debian13, 14gst-plugins-bad1.01.22.7-1DEBIAN-CVE-2023-40476
Ubuntu20.04:LTSgst-plugins-bad1.01.16.3-0ubuntu1.1UBUNTU-CVE-2023-40476 USN-6526-1
Ubuntu22.04:LTSgst-plugins-bad1.01.20.3-0ubuntu1.1UBUNTU-CVE-2023-40476 USN-6526-1
UbuntuPro:16.04:LTSgst-plugins-bad1.01.8.3-1ubuntu0.2+esm1UBUNTU-CVE-2023-40476
UbuntuPro:18.04:LTSgst-plugins-bad1.01.14.5-0ubuntu1~18.04.1+esm1UBUNTU-CVE-2023-40476
Red Hatenterprise_linux:8::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.16.1-4.el8RHSA-2024:3060
Red Hatenterprise_linux:8::crbgstreamer1-plugins-bad-free-devel, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.16.1-4.el8RHSA-2024:3060
Red Hatenterprise_linux:9::appstreamgstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.22.1-4.el9RHSA-2024:2287
Red Hatenterprise_linux:9::crbgstreamer1-plugins-bad-free-devel, gstreamer1-plugins-bad-free-debuginfo, gstreamer1-plugins-bad-free-debugsource0:1.22.1-4.el9RHSA-2024:2287
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 2 moregstreamer-plugins-bad1.16.3-150300.9.12.2SUSE-SU-2023:4594-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1gstreamer-plugins-bad1.12.5-150000.3.15.1SUSE-SU-2023:4596-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2gstreamer-plugins-bad1.16.3-150200.4.13.2SUSE-SU-2023:4595-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Desktop Applications 15 SP4, Linux Enterprise Module for Package Hub 15 SP4gstreamer-plugins-bad1.20.1-150400.3.9.1SUSE-SU-2023:4575-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Desktop Applications 15 SP5, Linux Enterprise Module for Package Hub 15 SP5gstreamer-plugins-bad1.22.0-150500.3.9.1SUSE-SU-2023:4574-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5gstreamer-plugins-bad1.8.3-18.9.3SUSE-SU-2023:4597-1
openSUSELeap 15.4, Leap 15.5gstreamer-plugins-bad1.22.0-lp155.3.7.1openSUSE-SU-2023:0409-1
AlmaLinux8gstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-devel1.16.1-4.el8ALSA-2024:3060
AlmaLinux9gstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-devel1.22.1-4.el9ALSA-2024:2287
Rocky Linux8gstreamer1-plugins-bad-free0:1.16.1-4.el8RLSA-2024:3060
Rocky Linux9gstreamer1-plugins-bad-free0:1.22.1-4.el9RLSA-2024:2287
Alpinev3.18gst-plugins-bad1.22.7-r0ALPINE-CVE-2023-40476
Alpinev3.19, v3.20, v3.21 and 3 moregst-plugins-bad1.22.6-r0ALPINE-CVE-2023-40476

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this issue as a Moderate impact, as this requires a local user and interaction with the library in order to be vulnerable to a possible crash.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gstreamer1-plugins-bad-free-0:1.16.1-4.el8Fixed 2024-05-22RHSA-2024:3060
Red Hat Enterprise Linux 9gstreamer1-plugins-bad-free-0:1.22.1-4.el9Fixed 2024-04-30RHSA-2024:2287
Red Hat Enterprise Linux 6gstreamer-plugins-bad-freeOut of support scope
Red Hat Enterprise Linux 7gstreamer1-plugins-bad-freeOut of support scope
Red Hat Enterprise Linux 7gstreamer-plugins-bad-freeOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-40476.

References

Check your stackJSON