🔍 CVE-2026-43630

6.5
CVSS Score
MEDIUM
2026-08-06
2026-10-22 19:17
✅ 완료

🇰🇷 한글 설명

llama.cpp의 b4882 이전 빌드에서 재귀적 메모리 상태 복구 경로에 경계 외 읽기(out-of-bounds read) 취약점이 발견되었습니다. 공격자가 슬롯 저장 디렉토리에 쓰기 권한을 가질 경우, 조작된 슬롯 파일을 통해 할당된 배열 범위를 벗어난 메모리를 읽어 서버 로그에 힙 데이터를 유출할 수 있습니다. 이는 ASLR 보호 기법을 무력화하여 추가적인 공격을 용이하게 만듭니다.

💡 쉬운 설명

특정 프로그램이 저장된 파일을 불러올 때, 파일에 적힌 잘못된 정보를 믿고 허용되지 않은 메모리 영역까지 읽어버리는 문제입니다. 이를 통해 해커는 컴퓨터 내부의 중요한 정보나 암호를 훔쳐낼 수 있는 발판을 마련할 수 있습니다.

🇺🇸 원문 (English)

llama.cpp builds b4882 before b8487 contain an out-of-bounds read vulnerability in the recurrent memory state restore path that allows attackers with write access to the slot save directory to read memory past the end of the allocated cells array. Attackers can craft a malicious slot file with an oversized seq_id value to trigger an out-of-bounds read that leaks heap data including pointer values into server logs, defeating ASLR protections and facilitating further exploitation.

📍 영향받는 시스템

llama.cpp builds b4882 before b8487

⚔️ 공격 벡터

슬롯 저장 디렉토리에 쓰기 권한을 가진 공격자가 조작된 seq_id 값을 포함한 악성 슬롯 파일을 생성하여 공격

🛡️ 대응 방법

llama.cpp를 b8487 버전 이상으로 업데이트하거나 슬롯 저장 디렉토리에 대한 쓰기 권한을 엄격히 제한

🔧 검증 코드

출력된 태그 버전이 b4882보다 크고 b8487보다 작은지 확인하여 취약 여부를 판단합니다.

Shell / Script
git describe --tags --always | grep -E 'b[0-9]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Data REST