What’s Vulnerable › Vulnerabilities
CVE-2026-112079: hankcs HanLP torch_util.py load_word2vec_as_vocab_tensor deserialization
- Severity: medium (CVSS 6.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-19 · updated 2026-10-19
- Weakness: CWE-20
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
- hankcs HanLP: 2.1.0-beta.0, 2.1.0-beta.1, 2.1.0-beta.2, 2.1.0-beta.3, 2.1.0-beta.4, 2.1.0-beta.5 (+59)
References
- https://github.com/hankcs/HanLP/
- https://github.com/hankcs/HanLP/issues/1968
- https://github.com/user-attachments/files/32910161/hanlp-ddb1299-vocab-pickle-poc.zip
- https://vuldb.com/cve/CVE-2026-112079
- https://vuldb.com/submit/1009644
- https://vuldb.com/vuln/421758
- https://vuldb.com/vuln/421758/cti
Get alerted when CVE-2026-112079 or the next vulnerability affects your stack