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.

Severity (CVSS)

Base score5.3
SeverityMedium
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Provided byCNA

Weaknesses

  • CWE-502 — Deserialization
  • CWE-20 — Improper Input Validation

Affected products

VendorProductVersions
hankcsHanLP2.1.0-beta.0 [affected]; 2.1.0-beta.1 [affected]; 2.1.0-beta.2 [affected]; 2.1.0-beta.3 [affected]; 2.1.0-beta.4 [affected]; 2.1.0-beta.5 [affected]; 2.1.0-beta.6 [affected]; 2.1.0-beta.7 [affected]; 2.1.0-beta.8 [affected]; 2.1.0-beta.9 [affected]; 2.1.0-beta.10 [affected]; 2.1.0-beta.11 [affected]; 2.1.0-beta.12 [affected]; 2.1.0-beta.13 [affected]; 2.1.0-beta.14 [affected]; 2.1.0-beta.15 [affected]; 2.1.0-beta.16 [affected]; 2.1.0-beta.17 [affected]; 2.1.0-beta.18 [affected]; 2.1.0-beta.19 [affected]; 2.1.0-beta.20 [affected]; 2.1.0-beta.21 [affected]; 2.1.0-beta.22 [affected]; 2.1.0-beta.23 [affected]; 2.1.0-beta.24 [affected]; 2.1.0-beta.25 [affected]; 2.1.0-beta.26 [affected]; 2.1.0-beta.27 [affected]; 2.1.0-beta.28 [affected]; 2.1.0-beta.29 [affected]; 2.1.0-beta.30 [affected]; 2.1.0-beta.31 [affected]; 2.1.0-beta.32 [affected]; 2.1.0-beta.33 [affected]; 2.1.0-beta.34 [affected]; 2.1.0-beta.35 [affected]; 2.1.0-beta.36 [affected]; 2.1.0-beta.37 [affected]; 2.1.0-beta.38 [affected]; 2.1.0-beta.39 [affected]; 2.1.0-beta.40 [affected]; 2.1.0-beta.41 [affected]; 2.1.0-beta.42 [affected]; 2.1.0-beta.43 [affected]; 2.1.0-beta.44 [affected]; 2.1.0-beta.45 [affected]; 2.1.0-beta.46 [affected]; 2.1.0-beta.47 [affected]; 2.1.0-beta.48 [affected]; 2.1.0-beta.49 [affected]; 2.1.0-beta.50 [affected]; 2.1.0-beta.51 [affected]; 2.1.0-beta.52 [affected]; 2.1.0-beta.53 [affected]; 2.1.0-beta.54 [affected]; 2.1.0-beta.55 [affected]; 2.1.0-beta.56 [affected]; 2.1.0-beta.57 [affected]; 2.1.0-beta.58 [affected]; 2.1.0-beta.59 [affected]; 2.1.0-beta.60 [affected]; 2.1.0-beta.61 [affected]; 2.1.0-beta.62 [affected]; 2.1.0-beta.63 [affected]; 2.1.0-beta.64 [affected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 19 Oct 2026 07:04 UTC.