All vulnerabilities

Servers and applications

CVE-2026-65704

FFmpeg through 8.1.2 contains an out-of-bounds write vulnerability that allows attackers to cause heap corruption by supplying a crafted ffconcat file processed with the -safe 0 flag. The TY demuxer's demux_audio() function decrements packet size without bounds checking, producing a negative size value that is passed to memcpy() in shorten_decode_frame(), where conversion to size_t wraps the…

Severity
High 7.3
Published
23 Jul 2026
Last changed
7 Aug 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.2% in the next 30 daysHigher than 7% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-191Out-of-bounds write (CWE-787)
Attack
Needs local access · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD

Description

FFmpeg through 8.1.2 contains an out-of-bounds write vulnerability that allows attackers to cause heap corruption by supplying a crafted ffconcat file processed with the -safe 0 flag. The TY demuxer's demux_audio() function decrements packet size without bounds checking, producing a negative size value that is passed to memcpy() in shorten_decode_frame(), where conversion to size_t wraps the value to near SIZE_MAX and triggers reads beyond the source allocation and writes far beyond the Shorten decoder's bitstream buffer.

From NVD.

Affected software

SoftwareAffected versions
FFmpegServers and applications · cpe:a:ffmpeg:ffmpeg
  • Every version up to 8.1.2

About FFmpeg

multimedia framework

From Wikidata, CC0 1.0.
GitHub stars
67,332GitHub, 15 Nov 2026
Forks
14,646GitHub, 15 Nov 2026
Developer
Fabrice BellardWikidata
License
GNU Lesser General Public License, version 2.1 or laterWikidata
Written in
C, assembly language, C++Wikidata
First released
20 Dec 2000Wikidata
First published on GitHub
14 Apr 2011GitHub

Release lines

ReleaseLatestSecurity fixes
9.0 'Lei'9.0.2Yes
8.1 'Hoare'8.1.3Yes
8.0 'Huffman'8.0.3Yes
7.1 'Péter' (LTS)LTS7.1.5Yes
7.0 'Dijkstra'7.0.3Ended 22 Jun 2026
6.1 'Heaviside'6.1.6Yes

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-65704
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-65704