🔍 CVE-2026-96638

6.5
CVSS Score
MEDIUM
2026-10-21
2026-10-22 16:46
✅ 완료

🇰🇷 한글 설명

Pillow 라이브러리의 BmpRleDecoder.decode() 함수에서 조작된 RLE BMP 파일을 처리할 때 메모리 경계 검사가 미흡하여 발생하는 취약점입니다. 공격자가 특수하게 제작된 파일을 통해 데이터 크기를 비정상적으로 확장시켜 메모리 고갈을 유도할 수 있습니다.

💡 쉬운 설명

이미지 파일을 읽는 과정에서 파일 크기에 비해 너무 많은 메모리를 사용하게 만들어 컴퓨터를 멈추게 하는 공격입니다. 아주 작은 이미지 파일로도 컴퓨터의 메모리를 가득 채워 시스템을 마비시킬 수 있습니다.

🇺🇸 원문 (English)

Pillow is a Python imaging library. From 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits crafted RLE BMP delta escapes and absolute-mode runs to append beyond the remaining dest_length without a per-branch cap. A delta can add roughly 255 image rows in one iteration, so a kilobyte-sized file with a large but permitted width can expand the data bytearray to hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.

📍 영향받는 시스템

Pillow versions 9.1.0 to 13.0.0

⚔️ 공격 벡터

조작된 RLE BMP 이미지 파일을 시스템에 업로드하거나 처리하도록 유도

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
pip show Pillow | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python