CVE Catalog

CVE-2026-65706

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

An out-of-bounds write vulnerability in the vf_swaprect video filter in FFmpeg versions 3.0 through 8.1.2. An attacker can supply a crafted NV12 frame with odd width, causing heap corruption and potential code execution.

Risk Assessment

An attacker could crash the FFmpeg process or potentially execute arbitrary code, leading to system compromise when processing malicious video files.

Recommendation

Update FFmpeg to version 8.1.3 or later. Avoid processing untrusted video files with odd dimensions.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS