CVE-2026-112079
hankcs HanLP torch_util.py load_word2vec_as_vocab_tensor deserialization
- State
- Published
- Severity
- 5.3 Medium
- Published
- Oct 19, 2026
- Updated
- Oct 19, 2026
- Reserved
- Oct 18, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | 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 | VulDB |
| 3.1 | 6.3 Medium | 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 | VulDB |
| 3.0 | 6.3 Medium | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C | VulDB |
| 2.0 | 7.5 High | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
HanLPhankcs |
|
References
- VDB-421758 | hankcs HanLP torch_util.py load_word2vec_as_vocab_tensor deserializationvdb-entrytechnical-description
- VDB-421758 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-112079 | CVE Analysis and Reportthird-party-advisory
- Submit #1009644 | hankcs HanLP commit ddb1299bddff079e447af52ec12549c50636bfa8 (2.1.0-beta.64) Insecure Deserializationthird-party-advisory
- https://github.com/hankcs/HanLP/issues/1968issue-tracking
- https://github.com/user-attachments/files/32910161/hanlp-ddb1299-vocab-pickle-poc.zipexploit
- https://github.com/hankcs/HanLP/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.