Back to overview

CVE-2026-65704

HIGH
7.8
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-65704
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-07-22 20:26 UTC
Published
2026-07-23 18:55 UTC
Last updated
2026-07-23 19:42 UTC
Primary CWE
CWE-787
Out-of-bounds Write
Vendor / Product
FFmpeg / FFmpeg
Sources
cve.org  ·  NVD

Severity & Metrics

7.8 HIGH CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
SSVC — CISA Coordinator
Exploitation
none
Automatable
no
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
FFmpeg FFmpeg 0 ≤ 8.1.2, de771bd52774a52d45b0e2c82e56995a1ef40df7
Weakness (CWE)
CWESourceDescription
CWE-191 cna Integer Underflow (Wrap or Wraparound)
CWE-787 cna Out-of-bounds Write
CVSS scores (2)
ScoreSeverityVersionSourceVector
7.8 HIGH 3.1 cna CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
7.3 HIGH 4.0 cna 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
Back to overview