CVE-2026-40962

NameCVE-2026-40962
DescriptionFFmpeg before 8.1 has an integer overflow and resultant out-of-bounds write via CENC (Common Encryption) subsample data to libavformat/mov.c.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6268-1, DSA-6276-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)bullseye7:4.3.7-0+deb11u1vulnerable
bullseye (security)7:4.3.9-0+deb11u2vulnerable
bookworm7:5.1.8-0+deb12u1vulnerable
bookworm (security)7:5.1.9-0+deb12u1fixed
trixie7:7.1.3-0+deb13u1vulnerable
trixie (security)7:7.1.4-0+deb13u1fixed
forky, sid7:8.1.1-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourcebookworm7:5.1.9-0+deb12u1DSA-6276-1
ffmpegsourcetrixie7:7.1.4-0+deb13u1DSA-6268-1
ffmpegsource(unstable)7:8.1-1

Notes

[bullseye] - ffmpeg <postponed> (minor issue)
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22348
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e392fb8c9c3949d975531d2b23c645d2465a7ebc (n8.1)
Fixed by: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/78c944bdb170d8dcece166115d92b45379b040f4 (n7.1.4)
Fixed by: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/b07fdedf940ded686ffe4e9fb221170a11ff0478 (n5.1.9)

Search for package or bug name: Reporting problems