CVE-2026-125195
Description
A flaw was found in FFmpeg. This vulnerability allows an attacker to cause information disclosure by submitting audio to an affected processing service. When encoding mono audio using Adaptive Differential Pulse Code Modulation (ADPCM) with trellis quantization enabled, the encoder fails to properly initialize memory buffers, causing output packets to leak residual heap memory.
Statement
This vulnerability is rated as having a Low impact because successful exploitation depends on an uncommon encoding configuration and only results in partial leakage of uninitialized memory without compromising system availability or integrity. Under standard Red Hat enterprise deployments, FFmpeg is not exposed as a network service by default, and typical media processing workflows do not enable trellis quantization for single-channel ADPCM_MS audio streams. Risk is primarily limited to environments where multi-tenant or untrusted users can directly control audio encoding parameters and inspect the resulting output data.
Mitigation
Isolate media processing workloads and restrict user-controllable audio encoding parameters:
1. Operational sandboxing: Run services that process untrusted media files or invoke libavcodec inside an isolated environment, such as an unprivileged container or a systemd service profile with restricted filesystem and memory access (for example, applying `ProtectSystem=strict` and `PrivateTmp=yes`).
2. Pipeline restrictions: Configure audio processing workflows to disallow mono ADPCM_MS encoding utilizing trellis quantization, or restrict untrusted clients from specifying arbitrary audio encoder flags.
Caveats: Restricting encoding parameters may impact legacy audio pipelines that rely on ADPCM_MS output. Applying systemd sandboxing directives requires reloading systemd configuration (`systemctl daemon-reload`) and restarting the corresponding service (`systemctl restart <service_name>`), which will temporarily interrupt active processing tasks.
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 | 2.5 | N/A | 2.5 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | High | N/A | High |
| Privileges Required | None | N/A | None |
| User Interaction | Required | N/A | Required |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | Low | N/A | Low |
| Integrity Impact | None | N/A | None |
| Availability Impact | None | N/A | None |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
cve.org: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory; Read Application Data
When reusing a resource such as memory or a program variable, the original contents may not have been cleared before it is sent to an untrusted party.
Availability
Technical Impact: DoS: Crash, Exit, or Restart; DoS: Instability
The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend, possibly leading to a crash.
Other
Technical Impact: Unexpected State; Varies by Context
The consequences vary depending on the type of resource and how it is used within the product.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.