🔍 CVE-2026-65706

7.8
CVSS Score
HIGH
2026-07-23
2026-10-24 15:10
✅ 완료

🇰🇷 한글 설명

FFmpeg 3.0부터 8.1.2 버전의 vf_swaprect 비디오 필터에서 경계 외 쓰기 취약점이 발견되었습니다. 공격자가 홀수 너비를 가진 특수하게 제작된 NV12 비디오 프레임을 제공할 경우, 힙 메모리 손상이 발생하여 프로세스가 충돌하거나 임의의 코드가 실행될 수 있습니다.

💡 쉬운 설명

동영상 편집 도구인 FFmpeg에서 특정 규격의 영상을 처리할 때 메모리 공간을 잘못 계산하는 오류가 있습니다. 이를 이용해 해커가 컴퓨터의 제어권을 뺏거나 프로그램을 강제로 종료시킬 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

FFmpeg versions 3.0 through 8.1.2

⚔️ 공격 벡터

조작된 NV12 비디오 프레임(홀수 너비)을 FFmpeg의 vf_swaprect 필터로 처리하도록 유도

🛡️ 대응 방법

FFmpeg를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 3.0 이상 8.1.2 이하인지 확인하십시오.

Shell / Script
ffmpeg -version | head -n 1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

FFmpeg