Skip to content
Heist/ feed
Back to feed
HighFix available

gst-plugins-bad1.0 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-40476

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.

Products
gst-plugins-bad1.0
Affected versions
1.22.0-4, 1.22.0-4+deb12u1
Fixed versions
1.22.0-4+deb12u2, 1.22.7-1
CVEs
CVE-2023-40476
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:57 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-40476

core-osv · Original source

Published 3 May 2024, 03:15 UTC

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.

osv:DEBIAN-CVE-2023-40476

gst-plugins-bad1.0

Fixed versions: 1.22.0-4+deb12u2

gst-plugins-bad1.0

Fixed versions: 1.22.7-1

gst-plugins-bad1.0

Fixed versions: 1.22.7-1

Complete source record
{
  "id": "2d6e915e7bb7e8eac798a7ad4c4357e6c92fec667b20cdeee68202d91a6dc572",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-40476",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-40476",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-40476",
    "products": [
      {
        "name": {
          "value": "gst-plugins-bad1.0",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.22.0-4+deb12u2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.22.0-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.22.0-4+deb12u1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gst-plugins-bad1.0",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.22.7-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "gst-plugins-bad1.0",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.22.7-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-40476",
      "aliases": [
        "DEBIAN-CVE-2023-40476"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.22.0-4+deb12u2"
                }
              ]
            }
          ],
          "package": {
            "name": "gst-plugins-bad1.0",
            "purl": "pkg:deb/debian/gst-plugins-bad1.0?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.22.0-4",
            "1.22.0-4+deb12u1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-40476.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.22.7-1"
                }
              ]
            }
          ],
          "package": {
            "name": "gst-plugins-bad1.0",
            "purl": "pkg:deb/debian/gst-plugins-bad1.0?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-40476.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.22.7-1"
                }
              ]
            }
          ],
          "package": {
            "name": "gst-plugins-bad1.0",
            "purl": "pkg:deb/debian/gst-plugins-bad1.0?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-40476.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:02:31.825828134Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-40476"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-40476"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-40476",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 456180,
  "published_at": "2024-05-03T03:15:20.303+00:00"
}