CVE Database›CVE-2026-100231

CVE-2026-100231

gstreamer1-plugins-bad-free: gstreamer1-plugins-bad-free: heap out-of-bounds write in asfmux due to incorrect UTF-16 size calculation for non-BMP characters

Loading…

Severity

Moderate

Red Hat Product Security

6.1

CVSS 3.1

Review impact separately from score.

Published · October 14, 2026

Updated · October 14, 2026

Description

A flaw was found in the GStreamer multimedia framework's ASF muxer plugin (asfmux). When writing string metadata tags containing Unicode characters outside the Basic Multilingual Plane (such as emoji) to an ASF container, the plugin incorrectly calculates the buffer size needed for the UTF-16LE representation. The size calculation assumes each Unicode code point requires 2 bytes, but non-BMP characters require 4 bytes (surrogate pairs). This leads to a heap out-of-bounds write when the actual UTF-16LE conversion is written into the undersized buffer. An attacker could exploit this by providing media with crafted metadata tags to an application that transcodes or remuxes to ASF format while preserving metadata, potentially causing a denial of service or limited memory corruption.

Statement

This vulnerability is rated as Moderate severity because exploitation requires a user or application to process untrusted media through a GStreamer pipeline that muxes output to ASF, WMA, or WMV while preserving string metadata (for example title or artist). That transcoding or remuxing scenario is uncommon compared with playback or demuxing. The reporter and Red Hat static analysis confirmed a deterministic heap out-of-bounds write that can crash the process; code execution was not demonstrated.

The flaw is in the asfmux element shipped in the gstreamer1-plugins-bad-free package. Standard ASLR and heap protections on Red Hat platforms increase the difficulty of turning the overflow into code execution beyond denial of service.

Red Hat Enterprise Linux and Red Hat In-Vehicle OS ship this package and are affected on supported update streams. Fedora community packages gstreamer1-plugins-bad-free and mingw-gstreamer1-plugins-bad-free are affected; resolution is delegated to Fedora maintainers.

Red Hat will provide fixes after upstream releases a correction and coordinated disclosure completes. Until then, if ASF muxing is not required, disable or remove the asfmux GStreamer plugin, or avoid propagating untrusted metadata into an asfmux pipeline. See the flaw mitigation field for build-time and runtime options.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

The asfmux plugin can be disabled at build time by passing -Dgst-plugins-bad:asfmux=disabled to meson when building GStreamer, or by removing/unloading the libgstasfmux.so shared library from the GStreamer plugin directory at runtime. Applications that do not require ASF muxing functionality are not affected. If ASF muxing is required, applications should sanitize metadata tags to remove non-BMP Unicode characters before passing them to the asfmux element.

CVSS / CWE

CVSS 3.1 · 6.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

CWE-787 · Out-of-bounds Write