{
  "threat_severity" : "Moderate",
  "public_date" : "2023-09-20T00:00:00Z",
  "bugzilla" : {
    "description" : "gstreamer-plugins-bad: Integer overflow in H.265 video parser leading to stack overwrite",
    "id" : "2254589",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2254589"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-190",
  "details" : [ "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.\nThe 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.\n. Was ZDI-CAN-21768.", "A stack-based buffer overflow was found in the GStreamer Plugins Bad when handling malformed files with H.265 video streams. This issue requires user interaction with the library and may allow a malicious user to cause an integer overflow before allocating the buffer, triggering a crash or code execution via heap manipulation, executing code in the context of the current process." ],
  "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.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2024-05-22T00:00:00Z",
    "advisory" : "RHSA-2024:3060",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "gstreamer1-plugins-bad-free-0:1.16.1-4.el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-04-30T00:00:00Z",
    "advisory" : "RHSA-2024:2287",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "gstreamer1-plugins-bad-free-0:1.22.1-4.el9"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "gstreamer-plugins-bad-free",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "gstreamer1-plugins-bad-free",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "gstreamer-plugins-bad-free",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-40476\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-40476\nhttps://gstreamer.freedesktop.org/security/sa-2023-0008.html" ],
  "name" : "CVE-2023-40476",
  "mitigation" : {
    "value" : "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.",
    "lang" : "en:us"
  },
  "csaw" : false
}