🔍 CVE-2026-112393

0.0
CVSS Score
UNKNOWN
2026-10-19
2026-10-20 19:48
✅ 완료

🇰🇷 한글 설명

Pillow 라이브러리 2.0.0부터 13.0.0 버전 사이에서 압축된 TIFF 데이터를 BytesIO와 같은 파일 디스크립터가 없는 대상으로 저장할 때 힙 버퍼 오버플로우 및 stale-heap 정보 유출 취약점이 발생합니다. 공격자가 제어하는 TIFF 태그나 ICC 프로필을 통해 메모리 범위를 벗어난 데이터 복사가 가능하며, 이는 프로세스 충돌이나 임의 코드 실행으로 이어질 수 있습니다.

💡 쉬운 설명

이미지 처리 라이브러리인 Pillow에서 특정 방식의 TIFF 파일을 저장할 때 메모리 관리 오류가 발생합니다. 이 오류를 이용하면 프로그램이 강제로 종료되거나 해커가 컴퓨터를 제어할 위험이 있습니다.

🇺🇸 원문 (English)

Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. This issue is fixed in version 13.0.0.

📍 영향받는 시스템

Pillow version 2.0.0 to 13.0.0

⚔️ 공격 벡터

조작된 TIFF 태그나 ICC 프로필이 포함된 파일을 BytesIO 등의 타겟으로 저장할 때 발생

🛡️ 대응 방법

Pillow 라이브러리를 13.0.0 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 13.0.0 미만(예: 12.x.x)이면 취약한 상태입니다.

Shell / Script
pip show Pillow | grep Version

💻 영향받는 소프트웨어

Python