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 score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS: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 by | CNA |
Weaknesses
- CWE-502 — Deserialization
- CWE-20 — Improper Input Validation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| hankcs | HanLP | 2.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
- https://vuldb.com/vuln/421758 (vdb-entry technical-description)
- https://vuldb.com/vuln/421758/cti (signature permissions-required)
- https://vuldb.com/cve/CVE-2026-112079 (third-party-advisory)
- https://vuldb.com/submit/1009644 (third-party-advisory)
- https://github.com/hankcs/HanLP/issues/1968 (issue-tracking)
- https://github.com/user-attachments/files/32910161/hanlp-ddb1299-vocab-pickle-poc.zip (exploit)
- https://github.com/hankcs/HanLP/ (product)
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.