{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-40474 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-40474 is a high-severity 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."},"fix_prompt":"Check this codebase for CVE-2023-40474 and fix it if it is affected.\n\nWhat it is: CVE-2023-40474 is a high-severity 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.\nExploitation: There is no known exploitation of CVE-2023-40474 in the wild and no public exploit code.\n\nAffected product: Gstreamer Gstreamer. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-40474/ (Markdown: https://insights.sbomify.com/CVE-2023-40474/index.md)","id":"CVE-2023-40474","markdown":"https://insights.sbomify.com/CVE-2023-40474/index.md","name":"CVE-2023-40474","record":{"aliases":["DEBIAN-CVE-2023-40474","GHSA-j2wr-x8cm-vx8p","SUSE-SU-2023:4271-1","SUSE-SU-2023:4350-1","SUSE-SU-2023:4355-1","SUSE-SU-2023:4360-1","SUSE-SU-2023:4361-1","SUSE-SU-2023:4368-1","SUSE-SU-2023:4980-1","SUSE-SU-2023:4982-1","SUSE-SU-2024:0307-1","UBUNTU-CVE-2023-40474"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GStreamer multimedia framework","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via integer overflow in GStreamer MXF file parsing, requiring user interaction with the library.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"zdi","cpe":[{"product":"gstreamer","vendor":"gstreamer"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"GStreamer MXF File Parsing Integer 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.\n\nThe specific flaw exists within the parsing of MXF video files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.\n. Was ZDI-CAN-21660.","ecosystems":["SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","SUSE:Linux Enterprise Module for Package Hub 15 SP4","SUSE:Linux Enterprise Module for Package Hub 15 SP5","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"GStreamer MXF File Parsing Integer Overflow Remote Code Execution Vulnerability","id":"CVE-2023-40474","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gstreamer:gstreamer","products":["gstreamer:gstreamer"],"type":"integer_overflow","year":"2023"},"n_packages":29,"n_references":2,"next":{"headline":"GStreamer MXF File Parsing Integer Overflow Remote Code Execution Vulnerability","id":"CVE-2023-40475"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.16.3-150300.9.9.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:4361-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.12.5-150000.3.17.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer","purl":"pkg:rpm/suse/gstreamer\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:4980-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.12.5-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:4355-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.16.3-150200.4.10.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:4350-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["1.16.3-150300.9.9.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:4361-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.16.3-150300.9.9.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:4361-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["1.20.1-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:4360-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["1.22.0-150500.3.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2023:4271-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","fixed":["1.20.1-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4","source":"SUSE-SU-2023:4360-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","fixed":["1.22.0-150500.3.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP5","source":"SUSE-SU-2023:4271-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP4","fixed":["1.20.1-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP4","source":"SUSE-SU-2023:4360-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["1.22.0-150500.3.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2023:4271-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.8.3-10.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer","purl":"pkg:rpm/suse/gstreamer\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:4982-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.8.3-10.9.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer","purl":"pkg:rpm/suse/gstreamer\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:0307-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.8.3-18.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:4368-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.12.5-150000.3.17.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer","purl":"pkg:rpm/suse/gstreamer\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:4980-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.12.5-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:4355-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.16.3-150200.4.10.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:4350-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.16.3-150300.9.9.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:4361-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.8.3-10.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer","purl":"pkg:rpm/suse/gstreamer\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:4982-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.8.3-10.9.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer","purl":"pkg:rpm/suse/gstreamer\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:0307-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.8.3-18.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:4368-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.12.5-150000.3.17.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer","purl":"pkg:rpm/suse/gstreamer\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:4980-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.12.5-150000.3.12.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:4355-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.16.3-150200.4.10.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:4350-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.16.3-150300.9.9.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:4361-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.8.3-10.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer","purl":"pkg:rpm/suse/gstreamer\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:4982-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.8.3-10.9.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer","purl":"pkg:rpm/suse/gstreamer\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:0307-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.8.3-18.6.1"],"introduced":["0"],"last_affected":[],"package":"gstreamer-plugins-bad","purl":"pkg:rpm/suse/gstreamer-plugins-bad\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:4368-1"}],"prev":{"headline":"PDF-XChange Editor Doc Object Out-Of-Bounds Read Information Disclosure Vulnerability","id":"CVE-2023-40473"},"products":["GStreamer"],"published":"2024-05-03","related":[{"cvss_score":8.8,"headline":"GStreamer rtpqdm2depay Out-Of-Bounds Write Remote Code Execution Vulnerability","id":"CVE-2026-3083","kev_date_added":null,"published":"2026-03-13"},{"cvss_score":8.8,"headline":"GStreamer rtpqdm2depay Heap-based Buffer Overflow Remote Code Execution Vulnerability","id":"CVE-2026-3085","kev_date_added":null,"published":"2026-03-13"},{"cvss_score":8.8,"headline":"GStreamer PGS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability","id":"CVE-2023-37328","kev_date_added":null,"published":"2024-05-03"},{"cvss_score":8.8,"headline":"GStreamer SRT File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability","id":"CVE-2023-37329","kev_date_added":null,"published":"2024-05-03"},{"cvss_score":8.8,"headline":"GStreamer RealMedia File Parsing Integer Overflow Remote Code Execution Vulnerability","id":"CVE-2023-38103","kev_date_added":null,"published":"2024-05-03"},{"cvss_score":8.8,"headline":"GStreamer RealMedia File Parsing Integer Overflow Remote Code Execution Vulnerability","id":"CVE-2023-38104","kev_date_added":null,"published":"2024-05-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["GStreamer"]},"summary":"Remote attackers can execute arbitrary code via integer overflow in GStreamer MXF file parsing, requiring user interaction with the library.","url":"https://insights.sbomify.com/CVE-2023-40474/"}