{"schemaVersion":3,"id":"CVE-2025-6663","aliases":["UBUNTU-CVE-2025-6663","DEBIAN-CVE-2025-6663"],"status":"published","duplicateOf":null,"title":null,"description":"GStreamer H266 Codec 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.\n\nThe specific flaw exists within the parsing of H266 sei messages. 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-27381.","dates":{"published":"2025-07-07T14:58:01.368Z","modified":"2025-07-07T15:11:45.408Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00387,"percentile":0.31572,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.062000000000000034,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00325},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00387,"percentile":0.31572}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00334,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00387,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00387,"percentile":0.31572}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"gst-plugins-bad1.0","name":"gst-plugins-bad1.0","label":"gst-plugins-bad1.0","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/gst-plugins-bad1.0","purlType":"deb","versions":[{"text":"< 1.26.2-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.26.2-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gst-plugins-bad1.0","name":"gst-plugins-bad1.0","label":"gst-plugins-bad1.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gst-plugins-bad1.0","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"gstreamer","product":"gstreamer","name":"GStreamer","label":"gstreamer","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"97fec43422c4b62d569957d721c899bdaaa9da61","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.26.0, < 1.26.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"97fec43422c4b62d569957d721c899bdaaa9da61 | ≥ 1.26.0, < 1.26.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"gstreamer","label":"GStreamer","category":"framework"}},"hubHref":"/vendor/gstreamer/gstreamer"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-25-467/","label":"www.zerodayinitiative.com/advisories/ZDI-25-467/","hostname":"www.zerodayinitiative.com","tags":["X Research Advisory","REPORT","Third Party Advisory"]},{"url":"https://gitlab.freedesktop.org/tpm/gstreamer/-/commit/eedd01ac3dfeb60e36a44bb61a6d0418454e8416","label":"gitlab.freedesktop.org/tpm/gstreamer/-/commit/eedd01ac3dfeb60e36a44bb61a6d0418454e8416","hostname":"gitlab.freedesktop.org","tags":["Vendor Advisory","REPORT","Patch"]},{"url":"https://ubuntu.com/security/CVE-2025-6663","label":"ubuntu.com/security/CVE-2025-6663","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-6663","label":"www.cve.org/CVERecord?id=CVE-2025-6663","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-6663","label":"security-tracker.debian.org/tracker/CVE-2025-6663","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-07-07T14:58:01.368Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-07T15:11:45.408Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T20:07:13.715Z","stale":false,"partial":false}}