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.
CVE-2026-65706
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-07-23. a secondary CVSS source baseline 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.8
- EG Score
- 7.8(high)
- EG Risk
- 35(Track)EG Risk 35/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 3%
- KEV
- Not listed
Published
July 23, 2026
Last Modified
July 24, 2026
Advisory Details (3)
Auto-updated Jul 23, 2026FFmpeg 3.0 - 8.1.2 vf_swaprect Out-of-Bounds Write via NV12 Frame Processing | Advisories | VulnCheck
https://www.vulncheck.com/advisories/ffmpeg-vf-swaprect-out-of-bounds-write-via-nv12-frame-processingavfilter/vf_swaprect: size the temp row buffer for the widest plane · a7e38b617b - FFmpeg/FFmpeg - FFmpeg Forgejo
https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/a7e38b617b32f996beaa371bbf04b39907d7a527#23779 - avfilter/vf_swaprect: size the temp row buffer for the widest plane - FFmpeg/FFmpeg - FFmpeg Forgejo
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23779Vendor Advisories for CVE-2026-65706(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 14× in last 7d / 14× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-27 16:15 UTCEG score recompute
- 2026-07-27 16:15 UTCGHSA enrichment
- 2026-07-27 14:14 UTCEPSS rescore
- 2026-07-27 03:52 UTCGHSA enrichment
- 2026-07-26 15:30 UTCEG score recompute
- 2026-07-26 15:30 UTCGHSA enrichment
- 2026-07-26 03:07 UTCEG score recompute
- 2026-07-26 03:07 UTCGHSA enrichment
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 19:22 UTCEG score recompute
- 2026-07-23 19:21 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-787 · CWE-131
- CVE-2011-1807EG 10.0HIGH
- CVE-2004-0978EG 10.0EPSS p98HIGH
- CVE-2004-1287EG 10.0EPSS p97HIGH
- CVE-2004-0574EG 10.0EPSS p99HIGH
- CVE-2002-2227EG 10.0HIGH
- CVE-2007-0158EG 9.8CRITICAL
- CVE-2007-0899EG 9.8CRITICAL
- CVE-2004-1363EG 9.8EPSS p95CRITICAL
- CVE-2004-0434EG 9.8EPSS p94CRITICAL
- CVE-2003-0899EG 9.8EPSS p97CRITICAL
Frequently asked(5)
What is CVE-2026-65706?
When was CVE-2026-65706 disclosed?
Is CVE-2026-65706 actively exploited?
What is the CVSS score of CVE-2026-65706?
How do I remediate CVE-2026-65706?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-65706
Is Your Infrastructure Affected by CVE-2026-65706?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.