Skip to content
Fencer Vulns
medium 4.9

CVE-2026-40962 json

FFmpeg before 8.1 has an integer overflow and resultant out-of-bounds write via CENC (Common...

published 2026-04-16 6 mo ago modified 2026-07-25 3 mo ago also EUVD-2026-23153 , GHSA-48wr-p98v-9w5h , JLSEC-2026-652

cvss
4.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 2%
public exploits
0
none known

Summary

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

Patch / fix

  • julia FFMPEG_jll 8.1.0+0
  • julia FFMPEG_nogpl_jll 8.1.0+0
  • julia FFplay_jll 8.1.2+0
  • FFmpeg FFmpeg 8.1
  • ffmpeg Debian 12 7:5.1.9-0+deb12u1
  • ffmpeg Debian 13 7:7.1.4-0+deb13u1
  • ffmpeg Debian 14 7:8.1-1

debian advisories DEBIAN-CVE-2026-40962

  • ffmpeg Ubuntu Pro 20.04 LTS 7:4.2.7-0ubuntu0.1+esm13
  • ffmpeg Ubuntu Pro 22.04 LTS 7:4.4.2-0ubuntu0.22.04.1+esm12
  • ffmpeg Ubuntu Pro 24.04 LTS 7:6.1.1-3ubuntu5+esm10
  • ffmpeg Ubuntu Pro 26.04 LTS 7:8.0.1-3ubuntu2+esm1

ubuntu advisories UBUNTU-CVE-2026-40962

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ffmpeg enterprise linux ai 3.0 6.1.6-9.el9ai
  • ffmpeg-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
  • libavutil-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
  • libavcodec-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
  • libswscale-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
  • libavdevice-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
  • libavfilter-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai
  • libavformat-free-rhai enterprise linux ai 3.0 6.1.6-9.el9ai

red hat advisories RHSA-2026:74089

  • ffmpeg-4 SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 4.4.7-150600.13.47.1
  • ffmpeg-4 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 4.4.7-150400.3.67.1

suse advisories SUSE-SU-2026:2445-1SUSE-SU-2026:2444-1

  • ffmpeg-7 openSUSE Leap 16.0 7.1.4-160000.1.1
  • ffmpeg-4 openSUSE Tumbleweed 4.4.6-12.1
  • ffmpeg-7 openSUSE Tumbleweed 7.1.3-3.1

opensuse advisories openSUSE-SU-2026:21211-1openSUSE-SU-2026:10767-1openSUSE-SU-2026:10768-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-40962 updated cvss 4.8

FFmpeg: FFmpeg: Integer overflow and out-of-bounds write via CENC subsample data

  • Red Hat Lightspeed Core ffmpeg, lightspeed-core/rag-tool-rhel9 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, rhelai3/bootc-azure-rocm-rhel9 Red Hat OpenShift AI (RHOAI) ffmpeg, rhoai/odh-vllm-gaudi-rhel9
    affected: workaround, no fix available
  • Red Hat Enterprise Linux AI 3.0 for RHEL 9 ffmpeg 6.1.6-9.el9ai, ffmpeg-free-rhai 6.1.6-9.el9ai, libavutil-free-rhai 6.1.6-9.el9ai, libavcodec-free-rhai 6.1.6-9.el9ai, libswscale-free-rhai 6.1.6-9.el9ai, libavdevice-free-rhai 6.1.6-9.el9ai, +4 more
    fixed: vendor fix RHSA-2026:74089
  • Red Hat OpenShift AI 3.2 rhai/base-image-cpu-rhel9 1791232203, rhai/base-image-cpu-rhel9 1791818598, rhai/base-image-tpu-rhel9 1791231896, rhai/base-image-cuda-rhel9 1791232024, rhai/base-image-cuda-rhel9 1791818587, rhai/base-image-rocm-rhel9 1791231767, +4 more
    fixed: vendor fix RHSA-2026:82759

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
6 mo ago

Exploit prediction

0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.9 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia FFMPEG_jll
<8.1.0+0
8.1.0+0
julia FFMPEG_nogpl_jll
<8.1.0+0
8.1.0+0
julia FFplay_jll
<8.1.2+0
8.1.2+0

Affected products

  • FFmpeg FFmpeg

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.