cve.bz

CVE-2026-40962 ffmpeg ffmpeg: Year 2038 problem, Y2K38, Y2038, Epochalypse

9.8 criticalEPSS 0.1%Fix available

Critical (9.8) in ffmpeg ffmpeg. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
FFmpeg before 8.1 has an integer overflow and resultant out-of-bounds write via CENC (Common Encryption) subsample data to libavformat/mov.c.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40962 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40962?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40962?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40962 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FFmpegfrom 4.1 before 8.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ffmpeg7:5.1.9-0+deb12u1DEBIAN-CVE-2026-40962 DSA-6276-1
Debian13ffmpeg7:7.1.4-0+deb13u1DEBIAN-CVE-2026-40962 DSA-6268-1
Debian14ffmpeg7:8.1-1DEBIAN-CVE-2026-40962
Ubuntu25.10, 26.10ffmpegno fix listedUBUNTU-CVE-2026-40962
UbuntuPro:14.04:LTSlibavno fix listedUBUNTU-CVE-2026-40962
UbuntuPro:20.04:LTSffmpeg7:4.2.7-0ubuntu0.1+esm13UBUNTU-CVE-2026-40962 USN-8469-1
UbuntuPro:22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1+esm12UBUNTU-CVE-2026-40962 USN-8469-1
UbuntuPro:24.04:LTSffmpeg7:6.1.1-3ubuntu5+esm10UBUNTU-CVE-2026-40962 USN-8469-1
UbuntuPro:26.04:LTSffmpeg7:8.0.1-3ubuntu2+esm1UBUNTU-CVE-2026-40962 USN-8469-1
Red Hatenterprise_linux_ai:3.0::el9ffmpeg, ffmpeg-debuginfo, ffmpeg-free-rhai and 27 more0:6.1.6-9.el9aiRHSA-2026:74089
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 moreffmpeg-44.4.7-150400.3.67.1SUSE-SU-2026:2444-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7ffmpeg-44.4.7-150600.13.47.1SUSE-SU-2026:2445-1
openSUSELeap 16.0ffmpeg-77.1.4-160000.1.1openSUSE-SU-2026:21211-1
openSUSETumbleweedffmpeg-44.4.6-12.1openSUSE-SU-2026:10767-1
openSUSETumbleweedffmpeg-77.1.3-3.1openSUSE-SU-2026:10768-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux AI 3.0 for RHEL 9ffmpeg-0:6.1.6-9.el9aiFixed 2026-09-30RHSA-2026:74089
Red Hat OpenShift AI 3.2rhai/base-image-tpu-rhel9:1791231896Fixed 2026-10-12RHSA-2026:80735
Red Hat OpenShift AI 3.2rhai/base-image-cuda-rhel9:1791232024Fixed 2026-10-12RHSA-2026:80739
Red Hat OpenShift AI 3.2rhai/base-image-rocm-rhel9:1791231952Fixed 2026-10-12RHSA-2026:80740
Red Hat OpenShift AI 3.2rhai/base-image-rocm-rhel9:1791231767Fixed 2026-10-12RHSA-2026:80757
Red Hat OpenShift AI 3.2rhai/base-image-spyre-rhel9:1791232196Fixed 2026-10-12RHSA-2026:80760
Red Hat OpenShift AI 3.2rhai/base-image-cpu-rhel9:1791232203Fixed 2026-10-12RHSA-2026:81128
Red Hat OpenShift AI 3.2rhai/base-image-spyre-rhel9:1791818602Fixed 2026-10-14RHSA-2026:82750
Red Hat OpenShift AI 3.2rhai/base-image-cpu-rhel9:1791818598Fixed 2026-10-14RHSA-2026:82759
Red Hat OpenShift AI 3.2rhai/base-image-cuda-rhel9:1791818587Fixed 2026-10-14RHSA-2026:82921
Lightspeed CoreffmpegAffected
Lightspeed Corelightspeed-core/rag-tool-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-rocm-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gcp-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Affected
Red Hat OpenShift AI (RHOAI)ffmpegAffected
Red Hat OpenShift AI (RHOAI)rhoai/odh-vllm-gaudi-rhel9Affected
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40962.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON