8.5

CVE-2026-65706: ffmpeg Incorrect Calculation of Buffer Size

CVSS: 8.5v4.0HighAnalyzed
AliasesUBUNTU-CVE-2026-65706DEBIAN-CVE-2026-65706CGA-54pq-h6g5-3w64
Published 23-07-2026Last modified 28-07-2026

Vulnerability summary

CVE-2026-65706 is a high (CVSS 8.5) Incorrect Calculation of Buffer Size vulnerability in ffmpeg. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 7.8% of scored vulnerabilities.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.5/10
010
High · v4.0 (CVE.org)
EPSS score
0.19%
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 11 · Related 10

Timeline

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

Description

FFmpeg versions 3.0 through 8.1.2 contain an out-of-bounds write vulnerability in the vf_swaprect video filter that allows attackers to corrupt heap memory by supplying a crafted NV12 video frame with odd width dimensions. The filter_frame() function reuses a temporary row buffer sized for plane 0's single-byte pixel step across all planes, causing an 18-byte memcpy into a 17-byte heap allocation when processing the two-byte-per-sample interleaved chroma plane of a 17x16 NV12 frame, resulting in heap corruption and process crash with potential for code execution.

CVSS metrics

9 scores · 6 sources · 2 versions

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

+0.06 pp

From 0.13% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.19%

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

Chainguard14 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:3.4.11-0ubuntu0.1+esm15 | < 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 · 22 products

References

11 links
Show all 11 references