medium6.3
CVE-2026-112079
A vulnerability has been found in hankcs HanLP up to 2.1.0-beta.64.
Impact
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
| Product | Affected versions |
|---|---|
| Hankcs HanLP | before 2.1.0-beta.64. |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- 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