🔍 CVE-2026-54058

9.1
CVSS Score
CRITICAL
2026-07-14
2026-08-06 15:46
✅ 완료

🇰🇷 한글 설명

Pillow 라이브러리 12.3.0 미만 버전에서 McIdas AREA 이미지 로드 시 발생하는 취약점입니다. 공격자가 조작된 헤더를 통해 행 너비보다 작은 행 스트라이드를 설정하면, 이미지 처리 과정에서 메모리 경계를 넘어 인접한 프로세스 메모리를 노출하거나 오류를 유발할 수 있습니다.

💡 쉬운 설명

이미지 파일을 읽을 때 파일에 숨겨진 잘못된 정보를 이용해 컴퓨터의 중요한 메모리 영역을 몰래 훔쳐보거나 프로그램을 멈추게 할 수 있는 문제입니다. 악의적으로 만들어진 이미지 파일을 열기만 해도 발생할 수 있습니다.

🇺🇸 원문 (English)

Pillow is a Python imaging library. Prior to 12.3.0, when Pillow loads an uncompressed McIdas AREA image from a filename through the mmap raw codec path, attacker-controlled header words can set a row stride smaller than the natural row width, causing pixel access such as Image.tobytes(), getpixel, convert, or save to read beyond the mapped region and disclose adjacent process memory or fault. This issue is fixed in version 12.3.0.

📍 영향받는 시스템

Pillow library versions prior to 12.3.0

⚔️ 공격 벡터

조작된 McIdas AREA 이미지 파일을 Pillow 라이브러리를 통해 로드함

🛡️ 대응 방법

Pillow 라이브러리를 12.3.0 버전 이상으로 업데이트

🔧 검증 코드

출력된 Version 값이 12.3.0 미만이면 취약한 상태이며, 12.3.0 이상이면 안전합니다.

Shell / Script
pip show Pillow | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python