🔍 CVE-2026-34982

8.2
CVSS Score
HIGH
2026-04-06
2026-10-24 13:10
✅ 완료

🇰🇷 한글 설명

Vim 9.2.0276 이전 버전에서 발생하는 모델라인(modeline) 샌드박스 우회 취약점입니다. 특정 옵션에 보안 플래그가 누락되거나 mapset() 함수에 보안 검사가 부족하여, 악의적으로 제작된 파일을 열 때 임의의 OS 명령어가 실행될 수 있습니다.

💡 쉬운 설명

해커가 만든 특수한 텍스트 파일을 Vim 편집기로 열기만 해도 컴퓨터에 몰래 명령을 내릴 수 있는 보안 구멍입니다. 편집기 설정 중 일부가 보안 검사를 제대로 거치지 않아 발생하는 문제입니다.

🇺🇸 원문 (English)

Vim is an open source, command line text editor. Prior to version 9.2.0276, a modeline sandbox bypass in Vim allows arbitrary OS command execution when a user opens a crafted file. The `complete`, `guitabtooltip` and `printheader` options are missing the `P_MLE` flag, allowing a modeline to be executed. Additionally, the `mapset()` function lacks a `check_secure()` call, allowing it to be abused from sandboxed expressions. Commit 9.2.0276 fixes the issue.

📍 영향받는 시스템

Vim 9.2.0276 미만 버전

⚔️ 공격 벡터

악의적으로 조작된 모델라인이 포함된 파일을 사용자가 Vim으로 열도록 유도

🛡️ 대응 방법

Vim을 최신 버전인 9.2.0276 이상으로 업데이트

🔧 검증 코드

출력된 버전 번호가 9.2.0276보다 낮으면 취약한 상태입니다.

Shell / Script
vim --version | head -n 1 | grep -oE 'Vim (9\.[0-9]+\.[0-9]+)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Magento Open Source