7.8

CVE-2026-65704: ffmpeg Integer Underflow (Wrap or Wraparound)

CVSS: 7.8v3.1HighAnalyzed
AliasesUBUNTU-CVE-2026-65704DEBIAN-CVE-2026-65704CGA-22vj-hphr-f2c2
Published 23-07-2026Last modified 28-07-2026

Vulnerability summary

CVE-2026-65704 is a high (CVSS 7.8) Integer Underflow (Wrap or Wraparound) vulnerability in ffmpeg. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 6.9% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.18%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 9

Timeline

  1. 23-07-2026
    PublishedVulnerability first disclosed.
  2. 28-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 6 sources · 2 versions

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

7%

Versus all other CVEs

30-day change

+0.06 pp

From 0.12% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.18%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard18 products
  • eco-python-ffmpeg-6-minimalAll versions (No fix recorded)
  • eco-python-ffmpeg-6-minimal-devAll versions (No fix recorded)
  • eco-python-ffmpeg-6-minimal-staticAll versions (No fix recorded)
  • eco-python-ffmpeg-7-minimalAll versions (No fix recorded)
  • eco-python-ffmpeg-7-minimal-devAll versions (No fix recorded)
Wolfi4 products
  • ffmpeg-7All versions (No fix recorded)
  • ffmpeg-7.1All versions (No fix recorded)
  • ffmpeg-8.0All versions (No fix recorded)
  • ffmpeg-8.1< 8.1.3-r0
Ubuntu2 products
  • ffmpeg< 7:4.2.7-0ubuntu0.1+esm16 | < 7:4.4.2-0ubuntu0.22.04.1+esm15 | < 7:6.1.1-3ubuntu5+esm13 | All versions (No fix recorded) | < 7:8.0.1-3ubuntu2+esm4
  • libavAll versions (No fix recorded)
Debian1 product
  • ffmpegAll versions (No fix recorded) | < 7:9.0.2-1
Ffmpeg1 product

5 vendors · 26 products

References

11 links
Show all 11 references