CVE-2026-40962
Description
A flaw was found in FFmpeg. This vulnerability, stemming from an integer overflow and a subsequent out-of-bounds write during the processing of Common Encryption (CENC) subsample data, could allow a local attacker to potentially trigger information disclosure, data corruption, or a denial of service.
Statement
A flaw of MODERATE impact was found in FFmpeg, where an integer overflow during the processing of Common Encryption (CENC) subsample data in libavformat/mov.c results in an out-of-bounds write. Exploitation requires processing a specially crafted media file, which could allow a local attacker to cause information disclosure, data corruption, or a denial of service. Red Hat offerings that ship or bundle FFmpeg, including Red Hat Enterprise Linux AI, Red Hat OpenShift AI (RHOAI), Lightspeed Core, and the Fedora and EPEL ffmpeg, qt5-qtwebengine, and qt6-qtwebengine packages and container images, are affected, and fixes are being pursued through the respective product streams. The ffmpeg component of cloud.redhat.com is not affected because the vulnerable code is not present. Red Hat rated this flaw MODERATE (CVSS 4.8, local attack vector, low privileges required, user interaction required), which differs significantly from the NIST score of 9.8 (critical, network attack vector), because exploitation requires a victim to process a specially crafted media file locally.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
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).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 4.8 | 9.8 | 4.9 |
| Attack Vector | Local | Network | Local |
| Attack Complexity | Low | Low | High |
| Privileges Required | Low | None | None |
| User Interaction | Required | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | Low | High | Low |
| Integrity Impact | Low | High | Low |
| Availability Impact | Low | High | Low |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cve.org: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
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.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.