🔍 CVE-2025-15514

7.5
CVSS Score
HIGH
2026-01-12
2026-08-17 19:16
✅ 완료

🇰🇷 한글 설명

Ollama 0.11.5-rc0부터 0.13.5 버전까지 멀티모달 모델의 이미지 처리 기능에서 Null 포인터 역참조 취약점이 발견되었습니다. /api/chat 엔드포인트를 통해 조작된 base64 이미지 데이터를 전송할 경우, 유효성 검사 미비로 인해 프로세스가 충돌하며 서비스 거부(DoS) 상태가 발생할 수 있습니다.

💡 쉬운 설명

잘못된 형식의 이미지를 보내면 프로그램이 처리 과정에서 오류를 일으켜 갑자기 꺼져버리는 문제입니다. 이로 인해 서비스를 이용하던 모든 사용자가 일시적으로 모델을 사용할 수 없게 됩니다.

🇺🇸 원문 (English)

Ollama 0.11.5-rc0 through current version 0.13.5 contain a null pointer dereference vulnerability in the multi-modal model image processing functionality. When processing base64-encoded image data via the /api/chat endpoint, the application fails to validate that the decoded data represents valid media before passing it to the mtmd_helper_bitmap_init_from_buf function. This function can return NULL for malformed input, but the code does not check this return value before dereferencing the pointer in subsequent operations. A remote attacker can exploit this by sending specially crafted base64 image data that decodes to invalid media, causing a segmentation fault and crashing the runner process. This results in a denial of service condition where the model becomes unavailable to all users until the service is restarted.

📍 영향받는 시스템

Ollama 0.11.5-rc0 ~ 0.13.5

⚔️ 공격 벡터

네트워크를 통해 조작된 base64 인코딩 이미지 데이터를 /api/chat 엔드포인트로 전송

🛡️ 대응 방법

Ollama를 최신 버전으로 업데이트하여 해당 취약점이 해결된 버전을 사용하십시오.

🔧 검증 코드

출력된 버전이 0.11.5-rc0보다 낮거나 0.13.5 이하인 경우 취약할 수 있습니다.

Shell / Script
ollama --version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Ollama