Deserialization Vulnerability in HanLP by hankcs
CVE-2026-112079

5.3MEDIUM

Key Information:

Vendor

Hankcs

Status
Vendor
CVE Published:
19 October 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

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

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

r1ck9 (VulDB User)
VulDB CNA Team
.