🇰🇷 한글 설명
FFmpeg 7.0에서 8.1.2 버전 사이의 vf_quirc 필터에서 힙 기반 경계 외 쓰기 취약점이 발견되었습니다. 공격자가 프레임 크기가 일치하지 않는 조작된 PGS/SUP 자막 파일을 제공할 경우, 메모리 오염을 일으켜 프로세스를 중단시키거나 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
특수하게 제작된 자막 파일을 재생할 때 프로그램이 메모리를 잘못 관리하여 오류가 발생하는 문제입니다. 이를 통해 해커가 컴퓨터를 멈추게 하거나 악성 프로그램을 실행할 위험이 있습니다.
🇺🇸 원문 (English)
FFmpeg 7.0 through 8.1.2, fixed in commit 4da9812, contains a heap out-of-bounds write vulnerability in the vf_quirc filter that allows an attacker to corrupt heap memory by supplying a crafted PGS/SUP subtitle file with mismatched frame dimensions. Attackers can provide a subtitle file whose second presentation has larger dimensions than its first, causing av_image_copy_plane() to copy data exceeding the initial allocation size into the undersized libquirc grayscale image buffer, resulting in heap corruption and process crash with potential for code execution.
📍 영향받는 시스템
FFmpeg 7.0 ~ 8.1.2 버전
⚔️ 공격 벡터
크기가 조작된 PGS/SUP 자막 파일을 통해 메모리 경계를 넘어서는 데이터를 입력함
🛡️ 대응 방법
커밋 4da9812가 포함된 최신 버전의 FFmpeg로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 7.0 이상 8.1.2 이하인지 확인하십시오.
ffmpeg -version | head -n 1