{"schemaVersion":3,"id":"CVE-2023-38104","aliases":["UBUNTU-CVE-2023-38104","DEBIAN-CVE-2023-38104"],"status":"published","duplicateOf":null,"title":null,"description":"GStreamer RealMedia 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 MDPR chunks. 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. Was ZDI-CAN-21444.","dates":{"published":"2024-05-03T01:59:05.115Z","modified":"2024-08-02T17:30:13.843Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/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":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/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":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01401,"percentile":0.72128,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01401},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01401,"percentile":0.72128}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01401,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01401,"percentile":0.72128}]},"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-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"debian","product":"gst-plugins-ugly1.0","name":"gst-plugins-ugly1.0","label":"gst-plugins-ugly1.0","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/gst-plugins-ugly1.0","purlType":"deb","versions":[{"text":"< 1.22.0-2+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.22.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.22.0-2+deb12u1 | < 1.22.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gst-plugins-ugly1.0","name":"gst-plugins-ugly1.0","label":"gst-plugins-ugly1.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gst-plugins-ugly1.0","purlType":"deb","versions":[{"text":"< 1.8.3-1ubuntu0.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.14.5-0ubuntu1~18.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.16.2-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.20.1-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.3-1ubuntu0.1+esm2 | < 1.14.5-0ubuntu1~18.04.1+esm1 | < 1.16.2-2ubuntu0.1~esm1 | < 1.20.1-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"gstreamer","product":"gstreamer","name":"gstreamer","label":"gstreamer","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.22.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.22.3","eol":{"isEol":true,"eolDate":null,"matchMethod":"cpe","cycle":{"name":"1.22","label":"1.22","eolFrom":null,"isLts":false,"isMaintained":false,"latestVersion":"1.22.12"},"product":{"name":"gstreamer","label":"GStreamer","category":"framework"}},"hubHref":"/vendor/gstreamer/gstreamer"}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1008/","label":"www.zerodayinitiative.com/advisories/ZDI-23-1008/","hostname":"www.zerodayinitiative.com","tags":["X Research Advisory","REPORT","Third Party Advisory"]},{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/uploads/d4a0aa4ec2165f6c418703b9e1459d8b/0002-rmdemux-Check-for-integer-overflow-when-calculation-.patch","label":"gitlab.freedesktop.org/gstreamer/…","hostname":"gitlab.freedesktop.org","tags":["Vendor Advisory","Patch"]},{"url":"https://ubuntu.com/security/CVE-2023-38104","label":"ubuntu.com/security/CVE-2023-38104","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://gstreamer.freedesktop.org/security/sa-2023-0005.html","label":"gstreamer.freedesktop.org/security/sa-2023-0005.html","hostname":"gstreamer.freedesktop.org","tags":["REPORT"]},{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2782","label":"gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2782","hostname":"gitlab.freedesktop.org","tags":["REPORT"]},{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/67e38cf47b7683586c24de18d8253029042dc72f","label":"gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/67e38cf47b7683586c24de18d8253029042dc72f","hostname":"gitlab.freedesktop.org","tags":["REPORT"]},{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/eb89e0a13eeb59fc5bab787ded50faf6a50087e3","label":"gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/eb89e0a13eeb59fc5bab787ded50faf6a50087e3","hostname":"gitlab.freedesktop.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-38104","label":"www.cve.org/CVERecord?id=CVE-2023-38104","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8896-1","label":"ubuntu.com/security/notices/USN-8896-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-38104","label":"security-tracker.debian.org/tracker/CVE-2023-38104","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3552-1","DSA-5476-1","MGASA-2023-0354","SUSE-SU-2023:3222-1","SUSE-SU-2023:3226-1","SUSE-SU-2023:3247-1","USN-8896-1"],"duplicates":[],"related":["SUSE-SU-2023:3222-1","SUSE-SU-2023:3226-1","SUSE-SU-2023:3247-1","USN-8896-1"]},"timeline":[{"kind":"published","date":"2024-05-03T01:59:05.115Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T17:30:13.843Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:14:04.634Z","stale":false,"partial":false}}