🔍 CVE-2026-66036

8.8
CVSS Score
HIGH
2026-07-24
2026-08-07 01:05
✅ 완료

🇰🇷 한글 설명

FFmpeg 8.1.2 이하 버전의 vf_hqdn3d 필터에서 힙 기반 경계 외 쓰기 취약점이 발견되었습니다. -reinit_filter 0 옵션을 사용하여 필터그래프 재초기화를 비활성화한 상태에서 해상도가 증가하는 악성 영상을 입력하면, 할당된 버퍼 크기를 초과하여 메모리가 손상될 수 있습니다.

💡 쉬운 설명

동영상 처리 프로그램인 FFmpeg에서 해상도가 갑자기 커지는 특수한 영상을 재생할 때 메모리 오류가 발생하는 문제입니다. 공격자가 만든 영상을 재생하면 프로그램이 오작동하거나 해킹에 이용될 수 있습니다.

🇺🇸 원문 (English)

FFmpeg through 8.1.2, fixed in commit 5d7112c, contains a heap out-of-bounds write vulnerability in the vf_hqdn3d filter that allows attackers to corrupt heap memory by supplying a crafted video whose frame resolution increases between frames when filtergraph reinitialization is disabled via the -reinit_filter 0 option. Attackers can provide a malicious video input where vf_hqdn3d.config_input() allocates undersized per-plane line-history buffers based on the initial frame width, and subsequent larger frames cause denoise_spatial() to write beyond the allocation boundary, resulting in heap memory corruption.

📍 영향받는 시스템

FFmpeg 8.1.2 및 그 이전 버전

⚔️ 공격 벡터

해상도가 프레임 사이에 변하는 조작된 동영상 파일을 입력값으로 제공

🛡️ 대응 방법

커밋 5d7112c가 적용된 최신 버전의 FFmpeg로 업데이트

🔧 검증 코드

출력된 버전 정보가 8.1.2 이하인지 확인하여 취약 여부를 판단합니다.

Shell / Script
ffmpeg -version | head -n 1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

FFmpeg