CVE-2026-100231
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.
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.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.1 | N/A | 6.1 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | Required | N/A | Required |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | None |
| Integrity Impact | Low | N/A | Low |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Red Hat CVSS v3 Score Explanation
Local attack vector (requires processing media with non-BMP metadata); user interaction required; no privileges needed; heap OOB write causes crash (high availability impact) with limited integrity impact from controlled write content; no confidentiality impact
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Acknowledgements
Red Hat would like to thank Bruno Fournier (Independent researcher) for reporting this issue.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.