VDB

CVE-2023-40476

CVE-2023-40476 PUBLISHED CVSS 8.8 HIGH

GStreamer H265 Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

Reported by zdi · Published May 3, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
gstreamergstreamer1.22.6

Risk scores

CVSS 3.0
8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
GStreamerGStreamer1.22.4 and 8dddb9ad2009705dfc3e50d59d7c56fc7314cfc3
gstreamergstreamer0
GStreamerGStreamer1.22.4
amazon:2gstreamer1-plugins-bad-free0
amazon:2gstreamer1-plugins-bad-free-devel0
alpinegst-plugins-bad0, 0

Timeline

  • Sep 20, 2023 CVE Published
  • May 3, 2024 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Distribution Patch (4 in total, the first dated here)
  • Mar 26, 2026 Security Advisory (8 in total, the first dated here)
  • Aug 4, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-40476
vulnetix vdb fixes CVE-2023-40476

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-40476/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›