CVE-2026-40962
Received Received - Intake

Integer Overflow and Out-of-Bounds Write in FFmpeg libavformat

Vulnerability report for CVE-2026-40962, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-16

Last updated on: 2026-04-20

Assigner: MITRE

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-16
Last Modified
2026-04-20
Generated
2026-07-06
AI Q&A
2026-04-16
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ffmpeg ffmpeg to 8.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in FFmpeg versions before 8.1 and involves an integer overflow that leads to an out-of-bounds write. It occurs specifically in the handling of CENC (Common Encryption) subsample data within the libavformat/mov.c component.

Impact Analysis

The integer overflow and out-of-bounds write can potentially lead to corruption of memory, which may cause the application to crash or behave unpredictably. This could be exploited to compromise the integrity, confidentiality, or availability of the system running the vulnerable FFmpeg version.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-40962. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart