# CVE-2023-38104: GStreamer RealMedia File Parsing Integer Overflow Remote Code Execution Vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-03 · Modified: 2024-08-02
- Aliases: UBUNTU-CVE-2023-38104, DEBIAN-CVE-2023-38104, ALPINE-CVE-2023-38104
- Record: https://cvemate.com/vulnerability/CVE-2023-38104 · JSON: https://cvemate.com/vulnerability/CVE-2023-38104/json

## Description

```text
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.

The 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.
```

## Signals

- CVSS: 8.8 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.413%, percentile 73.64%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine gst-plugins-ugly (Alpine Linux): \< 1.22.5-r0
- debian gst-plugins-ugly1.0 (Debian): \< 1.22.0-2+deb12u1 \| \< 1.22.5-1
- ubuntu gst-plugins-ugly1.0 (Ubuntu): \< 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
- gstreamer gstreamer: 1.22.3

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-23-1008/>
- <https://gitlab.freedesktop.org/gstreamer/gstreamer/uploads/d4a0aa4ec2165f6c418703b9e1459d8b/0002-rmdemux-Check-for-integer-overflow-when-calculation-.patch>
- <https://ubuntu.com/security/CVE-2023-38104>
- <https://gstreamer.freedesktop.org/security/sa-2023-0005.html>
- <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2782>
- <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/67e38cf47b7683586c24de18d8253029042dc72f>
- <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/eb89e0a13eeb59fc5bab787ded50faf6a50087e3>
- <https://www.cve.org/CVERecord?id=CVE-2023-38104>
- <https://ubuntu.com/security/notices/USN-8896-1>
- <https://security-tracker.debian.org/tracker/CVE-2023-38104>
- <https://security.alpinelinux.org/vuln/CVE-2023-38104>

---

Data as of 2026-12-05T09:09:08.074Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
