CVE-2026-65704: Libav · FFmpeg through 8.1.2 contains an out-of-bounds write vulnerability that allows attackers to cause heap corruption by supplying a crafted ffconcat
Affects libavSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 7:4.2.7-0ubuntu0.1+esm16 : patch libav soon.
Data as of 5 Dec 2026, 18:47 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 7:4.2.7-0ubuntu0.1+esm16, 7:4.4.2-0ubuntu0.22.04.1+esm15, 7:6.1.1-3ubuntu5+esm13 +1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in
|
Ubuntu Pro 24.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 14.04 LTSlibavpkg:deb/ubuntu/libav?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users and administrators should apply the official updates provided for FFmpeg/libav to versions later than 8.1.2 or the corresponding fixed package versions in their distributions. Until patched, avoid processing untrusted ffconcat files with the -safe 0 flag to mitigate risk.
Description
FFmpeg through version 8.1.2 contains an out-of-bounds write vulnerability in the TY demuxer's demux_audio() function. This vulnerability is triggered when processing a crafted ffconcat file with the -safe 0 flag, causing heap corruption due to improper bounds checking and a negative packet size passed to memcpy(). The vulnerability has a CVSS score of 7.8, indicating a medium severity. A patch is available to address this issue.
References
- nvd.nist.gov/vuln/detail/CVE-2026-65704 (opens in a new tab)
- code.ffmpeg.org/FFmpeg/FFmpeg/commit/de771bd52774a52d45b0e2c82e56995a1ef40df7 (opens in a new tab)
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23767 (opens in a new tab)
- vulncheck.com/advisories/ffmpeg-out-of-bounds-write-via-ty-demuxer-and-shorten-decoder (opens in a new tab)
- ubuntu.com/security/CVE-2026-65704 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-65704 (opens in a new tab)
- ubuntu.com/security/notices/USN-8716-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8716-2 (opens in a new tab)