# CVE-2026-112079: hankcs HanLP torch_util.py load_word2vec_as_vocab_tensor deserialization

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-19T04:45:08.929Z
- Modified: 2026-10-19T17:17:10.943Z
- Weaknesses: CWE-20, CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- 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; 2.1.0-beta.6; 2.1.0-beta.7; 2.1.0-beta.8; 2.1.0-beta.9; 2.1.0-beta.10; 2.1.0-beta.11; and 53 more

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://github.com/user-attachments/files/32910161/hanlp-ddb1299-vocab-pickle-poc.zip> (exploit)
- <https://vuldb.com/vuln/421758> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/421758/cti> (permissions-required, signature)
- <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/hankcs/HanLP/> (product)

## Sources

- CVE List: [CVE-2026-112079](https://www.cve.org/CVERecord?id=CVE-2026-112079), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-112079](https://nvd.nist.gov/vuln/detail/CVE-2026-112079), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-112079 · Whole record: https://cve.day/CVE-2026-112079.json · Rebuilt by cve.day 2026-11-25T22:59:45.346Z
