Skip to main content

Ffmpeg CVE-2026-40962

| EUVDEUVD-2026-23153 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-04-16 mitre
4.9
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
4.9 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
SUSE
MEDIUM
qualitative
Red Hat
4.8 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

6
Patch released
Apr 20, 2026 - 19:54 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
8.1
Analysis Generated
Apr 16, 2026 - 01:50 vuln.today
EUVD ID Assigned
Apr 16, 2026 - 01:45 euvd
EUVD-2026-23153
Analysis Generated
Apr 16, 2026 - 01:45 vuln.today
CVE Published
Apr 16, 2026 - 01:33 nvd
MEDIUM 4.9

DescriptionCVE.org

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

AnalysisAI

Integer overflow in FFmpeg's CENC subsample data parsing (libavformat/mov.c) before version 8.1 enables out-of-bounds memory writes on local systems processing specially crafted MP4 files. The vulnerability requires attacker-controlled media file input and non-default system configuration, limiting exploitation to local contexts; no active exploitation or public exploit code has been identified. With a CVSS score of 4.9 and low attack complexity requirement, this represents a moderate local integrity and confidentiality risk primarily affecting users who process untrusted video files from untrusted sources.

Technical ContextAI

FFmpeg's mov.c demultiplexer parses ISO Base Media File Format (MP4/MOV) containers, including CENC (Common Encryption) subsample metadata that defines encrypted portions of samples. The vulnerability stems from insufficient bounds checking when calculating buffer offsets using subsample data, allowing an integer overflow condition (CWE-190) that wraps the offset calculation and triggers an out-of-bounds write to heap or stack memory. The affected component is part of libavformat, FFmpeg's container parsing library, specifically the CENC subsample processing logic. CPE data confirms all FFmpeg versions before 8.1 are vulnerable across all platforms where FFmpeg is compiled.

RemediationAI

Upgrade FFmpeg to version 8.1 or later to obtain the upstream fix. The patch is available via the FFmpeg pull request #22348 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22348). For systems unable to immediately upgrade, apply defense-in-depth controls: restrict FFmpeg processing to media files from trusted sources only; disable or sandbox FFmpeg processing of user-uploaded content; run FFmpeg in a containerized environment with limited file system and memory access; enable address space layout randomization (ASLR) and DEP/NX protection on the system to reduce exploitability of memory corruption. Organizations using FFmpeg in production should prioritize upgrading, as the fix is straightforward and version 8.1 has been available. No known workarounds bypass the vulnerability without upgrading or restricting input sources.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

CVE-2021-30123 HIGH POC
8.8 Apr 07

FFmpeg <=4.3 contains a buffer overflow vulnerability in libavcodec through a crafted file that may lead to remote code

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed

Share

CVE-2026-40962 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy