🔍 CVE-2026-80206

5.9
CVSS Score
MEDIUM
2026-08-26
2026-09-01 20:07
✅ 완료

🇰🇷 한글 설명

NLTK 3.10.3 미만 버전의 tgrep 모듈에서 정규 표현식 서비스 거부(ReDoS) 취약점이 발견되었습니다. 공격자가 조작된 정규 표현식을 입력할 경우, _tgrep_node_action 함수가 검증 없이 이를 실행하여 CPU 점유율을 무한히 높이고 프로세스를 중단시킬 수 있습니다.

💡 쉬운 설명

특수하게 제작된 복잡한 검색 패턴을 입력하면 컴퓨터가 이를 처리하느라 과부하가 걸려 멈추게 되는 문제입니다. 이로 인해 프로그램이 응답하지 않거나 서비스가 중단될 수 있습니다.

🇺🇸 원문 (English)

NLTK before 3.10.3 contains a regular expression denial of service (ReDoS) vulnerability in the tgrep module. The _tgrep_node_action function compiles user-supplied regular expressions embedded in /regex/ pattern nodes and executes them via re.search against tree node labels without any validation or timeout. An attacker who controls the tgrep pattern (e.g., via tgrep_positions() or tgrep_compile() exposed to external input) can supply a pattern that triggers catastrophic backtracking, causing indefinite CPU saturation that blocks the Python process.

📍 영향받는 시스템

NLTK 3.10.3 미만 모든 버전

⚔️ 공격 벡터

외부 입력값이 tgrep_positions() 또는 tgrep_compile() 함수를 통해 조작된 정규 표현식으로 전달될 때 발생

🛡️ 대응 방법

NLTK를 최신 버전인 3.10.3 이상으로 업데이트하십시오.

🔧 검증 코드

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

Shell / Script
pip show nltk | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python