🔍 CVE-2026-112897

0.0
CVSS Score
UNKNOWN
2026-10-19
2026-10-22 22:18
✅ 완료

🇰🇷 한글 설명

Pillow 라이브러리 5.3.0부터 13.0.0 버전 사이에서 libtiff가 JPEG 압축 또는 Group 4 팩스 TIFF 데이터를 짧게 디코딩할 때 초기화되지 않은 메모리를 픽셀로 반환할 수 있는 취약점이 발견되었습니다. 공격자가 조작된 TIFF 파일을 제공하면 메모리에 남아있던 이전 데이터가 노출될 수 있습니다.

💡 쉬운 설명

이미지 처리 프로그램이 이미지를 읽을 때, 메모리의 깨끗하지 않은 부분을 그대로 보여주는 문제입니다. 이를 통해 컴퓨터 메모리에 남아있던 민감한 정보가 이미지의 일부로 유출될 수 있습니다.

🇺🇸 원문 (English)

Pillow is a Python imaging library. From 5.3.0 until 13.0.0, Pillow can return uninitialized memory as pixels when libtiff performs a short decode of JPEG-compressed or Group 4 fax TIFF data. The _decodeStrip and _decodeTile buffers can be larger than the bytes written by libtiff, but Pillow converts the expected rows without clearing the unwritten tail. The tile path is affected from 5.3.0 and the strip path from 6.0.0. An attacker can supply a crafted TIFF to an application that loads and returns or re-encodes its pixels. This can disclose stale heap contents without memory corruption or a process crash. This issue is fixed in version 13.0.0.

📍 영향받는 시스템

Pillow versions 5.3.0 to 13.0.0

⚔️ 공격 벡터

조작된 TIFF 파일을 애플리케이션에 업로드하여 이미지 픽셀을 통해 메모리 데이터를 탈취

🛡️ 대응 방법

Pillow 라이브러리를 13.0.0 이상의 최신 버전으로 업데이트

🔧 검증 코드

출력된 버전이 13.0.0 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
pip show Pillow 2>/dev/null | grep Version

💻 영향받는 소프트웨어

Python