Integer overflow in Ffmpeg

CVE-2026-40962

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

Vulnerability class: Integer Overflow

EPSS: 0.000 (1.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-40962?
CVE-2026-40962 is a medium-severity vulnerability in Ffmpeg, classified under Integer Overflow or Wraparound. CVSS score: 4.9/10. Published 2026-04-16.
How severe is CVE-2026-40962?
Medium severity. CVSS v3 base score is 4.9 out of 10.