8.5

CVE-2026-65706: FFmpeg 3.0 - 8.1.2 vf_swaprect Out-of-Bounds Write via NV12 Frame Processing

Analyzed
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.13% chance of exploitation in the next 30 days, higher than 2.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.5/10
010
High · v4.0 (CVE.org)
EPSS score
0.13%
0%100%
Low · -0.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.13%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

Decrease -0.06 pp

From 0.19% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard35 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 · 43 products

References

11 links
Show all 11 references