🔍 CVE-2026-70631

5.5
CVSS Score
MEDIUM
2026-08-06
2026-09-01 15:33
✅ 완료

🇰🇷 한글 설명

FFmpeg 0.5 버전부터 9.0 미만 버전의 libavcodec/tiff.c 내 네이티브 TIFF 디코더에서 초기화되지 않은 힙 메모리 노출 취약점이 발견되었습니다. 공격자가 조작된 TIFF 파일을 통해 디코딩을 유도할 경우, zlib 압축 해제 과정에서 선언된 크기보다 적은 데이터가 복사되어 이전 메모리에 남아있던 민감한 데이터가 이미지 출력에 포함될 수 있습니다.

💡 쉬운 설명

특수하게 만들어진 이미지 파일을 열었을 때, 컴퓨터 메모리에 남아있던 이전의 중요한 정보가 이미지의 일부로 나타날 수 있는 문제입니다. 이를 통해 해커가 시스템 내의 민감한 데이터를 훔쳐볼 위험이 있습니다.

🇺🇸 원문 (English)

FFmpeg versions from 0.5 up to, but not including, 9.0 contain an uninitialized heap memory disclosure vulnerability in the native TIFF decoder in libavcodec/tiff.c. An attacker who can cause FFmpeg to decode a crafted TIFF file can supply a valid Deflate-compressed strip that terminates successfully after producing fewer bytes than the declared strip requires. The tiff_unpack_zlib() function allocates a heap buffer sized for the full declared strip but copies all declared rows via memcpy() regardless of how many bytes zlib actually decompressed, causing unwritten bytes that can contain stale data from prior heap allocations to be incorporated into decoded image output and potentially exposing sensitive data in persistent services.

📍 영향받는 시스템

FFmpeg versions 0.5 up to (but not including) 9.0

⚔️ 공격 벡터

조작된 TIFF 파일을 FFmpeg를 통해 디코딩하도록 유도

🛡️ 대응 방법

FFmpeg를 9.0 이상의 최신 버전으로 업데이트

🔧 검증 코드

출력된 버전 번호가 9.0 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
ffmpeg -version | head -n 1 | grep -oE '[0-9]+\.[0-9]+(\.[0-9]+)?'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

FFmpeg