Deserialization Vulnerability in HanLP by hankcs
CVE-2026-112079
Key Information:
Badges
What is CVE-2026-112079?
A deserialization vulnerability has been identified in the HanLP natural language processing library developed by hankcs. This flaw exists in the function load_word2vec_as_vocab_tensor located in the torch_util.py file. An attacker can exploit this vulnerability remotely by manipulating the vectors.vocab argument, which leads to unsafe deserialization processes. Although the issue was reported to the project maintainers, they have not yet responded, placing users of affected versions at potential risk for exploitation.
Affected Version(s)
HanLP 2.1.0-beta.0
HanLP 2.1.0-beta.1
HanLP 2.1.0-beta.2
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
