Skip to main content
EPSS 0.3%top 79%

Libav: FFmpeg versions 2.7 through 8.1.2 contain an out-of-bounds write vulnerability in the TDSC video decoder that allows remote attackers to cause heap… (CVE-2026-65703)

0
Medium
Published: 07/23/2026 (07/23/2026, 20:17:00 UTC)
Source: GCVE Database
Product: libav

Description

FFmpeg versions 2.7 through 8.1.2 contain an out-of-bounds write vulnerability in the TDSC video decoder. This vulnerability allows remote attackers to cause heap corruption by supplying a crafted AVI file that manipulates frame dimensions across TDSF frames. The issue arises because the tdsc_parse_tdsf() function does not properly unreference an existing reference frame before allocating a new buffer, leading to writes beyond the allocated buffer size. This can result in a process crash and potentially remote code execution. A patch is available to address this vulnerability.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
ffmpeg/FFmpeg
pkg:github/ffmpeg/FFmpeg
Affected versions
2.7 <=8.1.2
Ubuntu:Pro:14.04:LTSmore threats →ghsa
libav
pkg:deb/ubuntu/libav?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=6:0.8.7-1ubuntu2=6:9.10-1ubuntu1=6:9.10-1ubuntu2=6:9.10-1ubuntu5=6:9.10-1ubuntu6=6:9.10-1ubuntu7=6:9.11-2ubuntu1=6:9.11-2ubuntu2=6:9.13-0ubuntu0.14.04.1=6:9.14-0ubuntu0.14.04.1=6:9.16-0ubuntu0.14.04.1=6:9.18-0ubuntu0.14.04.1=6:9.20-0ubuntu0.14.04.1=6:9.20-0ubuntu0.14.04.1+esm1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
ffmpeg
pkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps-legacy/xenial
Affected versions
<7:2.8.17-0ubuntu0.1+esm17=7:2.7.2-1build1=7:2.8.1-1ubuntu1=7:2.8.2-1ubuntu1=7:2.8.3-1=7:2.8.4-1=7:2.8.4-1ubuntu1=7:2.8.4-1ubuntu2=7:2.8.4-1ubuntu3=7:2.8.4-1ubuntu4=7:2.8.6-1ubuntu1=7:2.8.6-1ubuntu2=7:2.8.8-0ubuntu0.16.04.1=7:2.8.10-0ubuntu0.16.04.1=7:2.8.11-0ubuntu0.16.04.1=7:2.8.14-0ubuntu0.16.04.1=7:2.8.15-0ubuntu0.16.04.1=7:2.8.15-0ubuntu0.16.04.1+esm1=7:2.8.17-0ubuntu0.1=7:2.8.17-0ubuntu0.1+esm1=7:2.8.17-0ubuntu0.1+esm2=7:2.8.17-0ubuntu0.1+esm3=7:2.8.17-0ubuntu0.1+esm4=7:2.8.17-0ubuntu0.1+esm5=7:2.8.17-0ubuntu0.1+esm6=7:2.8.17-0ubuntu0.1+esm7=7:2.8.17-0ubuntu0.1+esm8=7:2.8.17-0ubuntu0.1+esm9=7:2.8.17-0ubuntu0.1+esm10=7:2.8.17-0ubuntu0.1+esm11=7:2.8.17-0ubuntu0.1+esm12=7:2.8.17-0ubuntu0.1+esm13=7:2.8.17-0ubuntu0.1+esm14=7:2.8.17-0ubuntu0.1+esm15=7:2.8.17-0ubuntu0.1+esm16
Ubuntu:Pro:18.04:LTSmore threats →ghsa
ffmpeg
pkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/bionic
Affected versions
<7:3.4.11-0ubuntu0.1+esm15=7:3.3.4-2=7:3.3.4-2build3=7:3.4-2ubuntu2=7:3.4-4=7:3.4-4build1=7:3.4.1-1=7:3.4.1-1build1=7:3.4.2-1=7:3.4.2-1build1=7:3.4.2-2=7:3.4.4-0ubuntu0.18.04.1=7:3.4.6-0ubuntu0.18.04.1=7:3.4.8-0ubuntu0.2=7:3.4.11-0ubuntu0.1=7:3.4.11-0ubuntu0.1+esm1=7:3.4.11-0ubuntu0.1+esm2=7:3.4.11-0ubuntu0.1+esm3=7:3.4.11-0ubuntu0.1+esm4=7:3.4.11-0ubuntu0.1+esm5=7:3.4.11-0ubuntu0.1+esm6=7:3.4.11-0ubuntu0.1+esm7=7:3.4.11-0ubuntu0.1+esm8=7:3.4.11-0ubuntu0.1+esm9=7:3.4.11-0ubuntu0.1+esm10=7:3.4.11-0ubuntu0.1+esm11=7:3.4.11-0ubuntu0.1+esm12=7:3.4.11-0ubuntu0.1+esm13=7:3.4.11-0ubuntu0.1+esm14
Ubuntu:Pro:20.04:LTSmore threats →ghsa
ffmpeg
pkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/focal
Affected versions
<7:4.2.7-0ubuntu0.1+esm16=7:4.1.4-1build2=7:4.2.1-2=7:4.2.1-2ubuntu1=7:4.2.2-1build1=7:4.2.2-1ubuntu1=7:4.2.4-1ubuntu0.1=7:4.2.4-1ubuntu0.1+esm1=7:4.2.7-0ubuntu0.1=7:4.2.7-0ubuntu0.1+esm1=7:4.2.7-0ubuntu0.1+esm2=7:4.2.7-0ubuntu0.1+esm3=7:4.2.7-0ubuntu0.1+esm4=7:4.2.7-0ubuntu0.1+esm5=7:4.2.7-0ubuntu0.1+esm6=7:4.2.7-0ubuntu0.1+esm7=7:4.2.7-0ubuntu0.1+esm8=7:4.2.7-0ubuntu0.1+esm9=7:4.2.7-0ubuntu0.1+esm10=7:4.2.7-0ubuntu0.1+esm11=7:4.2.7-0ubuntu0.1+esm12=7:4.2.7-0ubuntu0.1+esm13=7:4.2.7-0ubuntu0.1+esm14=7:4.2.7-0ubuntu0.1+esm15
Ubuntu:Pro:22.04:LTSmore threats →ghsa
ffmpeg
pkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/jammy
Affected versions
<7:4.4.2-0ubuntu0.22.04.1+esm15=7:4.4-6ubuntu5=7:4.4.1-2ubuntu1=7:4.4.1-3ubuntu1=7:4.4.1-3ubuntu2=7:4.4.1-3ubuntu3=7:4.4.1-3ubuntu5=7:4.4.2-0ubuntu0.22.04.1=7:4.4.2-0ubuntu0.22.04.1+esm1=7:4.4.2-0ubuntu0.22.04.1+esm2=7:4.4.2-0ubuntu0.22.04.1+esm3=7:4.4.2-0ubuntu0.22.04.1+esm4=7:4.4.2-0ubuntu0.22.04.1+esm5=7:4.4.2-0ubuntu0.22.04.1+esm6=7:4.4.2-0ubuntu0.22.04.1+esm7=7:4.4.2-0ubuntu0.22.04.1+esm8=7:4.4.2-0ubuntu0.22.04.1+esm9=7:4.4.2-0ubuntu0.22.04.1+esm10=7:4.4.2-0ubuntu0.22.04.1+esm11=7:4.4.2-0ubuntu0.22.04.1+esm12=7:4.4.2-0ubuntu0.22.04.1+esm13=7:4.4.2-0ubuntu0.22.04.1+esm14
Ubuntu:Pro:24.04:LTSmore threats →ghsa
ffmpeg
pkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/noble
Affected versions
<7:6.1.1-3ubuntu5+esm13=7:6.0-6ubuntu1=7:6.0-9ubuntu1=7:6.1-2ubuntu1=7:6.1-3ubuntu1=7:6.1-4ubuntu1=7:6.1-5ubuntu1=7:6.1.1-1ubuntu1=7:6.1.1-3ubuntu1=7:6.1.1-3ubuntu5=7:6.1.1-3ubuntu5+esm1=7:6.1.1-3ubuntu5+esm2=7:6.1.1-3ubuntu5+esm3=7:6.1.1-3ubuntu5+esm4=7:6.1.1-3ubuntu5+esm5=7:6.1.1-3ubuntu5+esm6=7:6.1.1-3ubuntu5+esm7=7:6.1.1-3ubuntu5+esm8=7:6.1.1-3ubuntu5+esm10=7:6.1.1-3ubuntu5+esm11=7:6.1.1-3ubuntu5+esm12
Ubuntu:26.10more threats →ghsa
ffmpeg
pkg:deb/ubuntu/ffmpeg?arch=source&distro=stonking
Affected versions
=7:8.0.1-3ubuntu2=7:8.1-3ubuntu3=7:8.1.2-2ubuntu2
Ubuntu:Pro:26.04:LTSmore threats →ghsa
ffmpeg
pkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/resolute
Affected versions
<7:8.0.1-3ubuntu2+esm4=7:7.1.1-1ubuntu4=7:7.1.2-1ubuntu3=7:7.1.2-1ubuntu4=7:7.1.3-1ubuntu1=7:8.0.1-2ubuntu1=7:8.0.1-3ubuntu1=7:8.0.1-3ubuntu2=7:8.0.1-3ubuntu2+esm1=7:8.0.1-3ubuntu2+esm3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 03:32:41 UTC

Technical Analysis

The vulnerability in FFmpeg versions 2.7 through 8.1.2 is an out-of-bounds write in the TDSC video decoder. Specifically, the tdsc_parse_tdsf() function fails to unreference an existing reference frame before allocating a new buffer, causing heap corruption when processing crafted AVI files that manipulate frame dimensions across TDSF frames. This flaw can lead to a crash or potentially allow remote code execution by a remote attacker supplying malicious media files.

Potential Impact

Remote attackers can exploit this vulnerability by providing specially crafted AVI files to trigger heap corruption, which may cause the affected process to crash or potentially allow remote code execution. The impact includes denial of service and possible full system compromise depending on the execution context.

Mitigation Recommendations

A patch is available for this vulnerability. Users should apply the official fixes provided by the FFmpeg project or their distribution vendors to remediate the issue. No additional mitigation steps are required beyond applying the patch.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-x3xw-4qcq-c6mr
Osv Schema Version
1.4.0
Aliases
["CVE-2026-65703"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a629b0d9c2644c7f8d861dd

Added to database: 07/23/2026, 22:51:57 UTC

Last enriched: 10/18/2026, 03:32:41 UTC

Last updated: 10/22/2026, 01:15:25 UTC

Views: 105

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses