Vulnerability · Published Oct 19, 2026 · Assigned by VulDB

CVE-2026-112079hankcs HanLP torch_util.py load_word2vec_as_vocab_tensor deserialization

Medium 6.3

In plain English

A medium-severity unsafe deserialization in HanLP from hankcs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.3%top 82.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability has been found in hankcs HanLP up to 2.1.0-beta.64. The affected element is the function load_word2vec_as_vocab_tensor of the file hanlp/utils/torch_util.py. The manipulation of the argument vectors.vocab leads to deserialization. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Affected products (as reported)

VendorProductVersions
hankcs HanLP 2.1.0-beta.02.1.0-beta.12.1.0-beta.22.1.0-beta.32.1.0-beta.42.1.0-beta.52.1.0-beta.62.1.0-beta.7

Weakness: CWE-502, CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C

References