🔍 CVE-2026-96643

0.0
CVSS Score
UNKNOWN
2026-10-21
2026-10-23 22:17
✅ 완료

🇰🇷 한글 설명

Python 이미지 라이브러리인 Pillow의 11.0.0부터 13.0.0 버전 사이에서 Exif.load() 함수가 EXIF 데이터를 반복적으로 슬라이싱하는 취약점이 발견되었습니다. 조작된 PNG 파일의 EXIF 청크를 처리할 때 반복적인 복사 작업이 발생하여 CPU 사용량이 기하급수적으로 증가하는 서비스 거부(DoS) 공격이 가능합니다.

💡 쉬운 설명

특수하게 제작된 이미지를 서버에 업로드하면 컴퓨터의 두뇌 역할을 하는 CPU가 과도하게 일을 하게 되어 시스템이 느려지거나 멈출 수 있습니다. 사진을 올릴 때 자동으로 회전시키는 기능 등을 사용할 때 이 문제가 발생할 수 있습니다.

🇺🇸 원문 (English)

Pillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header. src/PIL/PngImagePlugin.py accepts an uncapped PNG eXIf chunk, so a file filled with repeated headers causes a new shrinking copy on every iteration and quadratic CPU work. The condition is reachable through Image.getexif(), Image._getexif(), and ImageOps.exif_transpose(), including common photo-upload rotation workflows. This issue is fixed in version 13.0.0.

📍 영향받는 시스템

Pillow library versions 11.0.0 to 13.0.0

⚔️ 공격 벡터

조작된 EXIF 헤더가 포함된 PNG 파일을 업로드하여 서버의 CPU 자원을 고갈시킴

🛡️ 대응 방법

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

🔧 검증 코드

출력된 버전이 11.0.0 미만이거나 13.0.0 이상인지 확인하여 취약 여부를 판단합니다.

Shell / Script
pip show Pillow | grep Version

💻 영향받는 소프트웨어

Python