CVE-2026-125242
Description
A flaw was found in ffmpeg. In the VDPAU (Video Decode and Presentation API for Unix) hardware acceleration implementation, picture decoding can be aborted prematurely without releasing allocated buffer memory. An attacker could exploit this vulnerability by providing a specially crafted video stream, leading to continuous heap memory exhaustion and resulting in a Denial of Service (DoS).
Statement
This vulnerability is rated as Moderate impact because successful exploitation is limited to causing a denial of service through memory exhaustion, without compromising data confidentiality or system integrity. Triggering the flaw requires a user or automated pipeline to process a specially crafted H.264 stream while VDPAU hardware acceleration is actively enabled. In standard Red Hat deployments, hardware-accelerated decoding via VDPAU is not active by default and relies on specific graphics hardware and driver setups. As a result, the blast radius is confined to the individual media-decoding process.
Mitigation
Disable VDPAU hardware acceleration in FFmpeg-dependent processing and avoid decoding untrusted media streams. When invoking FFmpeg directly, do not pass the `-hwaccel vdpau` option, allowing the application to utilize standard software decoding. For custom applications linking against libavcodec, ensure hardware acceleration configurations do not select VDPAU, or isolate media processing pipelines within sandboxed containers.
Caveats: Relying on software decoding transfers video processing workloads to the CPU, which may significantly increase CPU utilization and reduce performance when handling high-resolution video streams.
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 | 4.7 | N/A | 4.7 |
| 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 | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (Other); DoS: Resource Consumption (Memory); DoS: Resource Consumption (CPU)
An attacker that can influence the allocation of resources that are not properly released could deplete the available resource pool and prevent all other processes from accessing the same type of resource. Frequently-affected resources include memory, CPU, disk space, power or battery, etc.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.