Skip to main content
← All vulnerabilities
CVE-2026-112079

hankcs HanLP torch_util.py load_word2vec_as_vocab_tensor deserialization

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • 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, 2.1.0-beta.12, 2.1.0-beta.13, 2.1.0-beta.14, 2.1.0-beta.15, 2.1.0-beta.16, 2.1.0-beta.17, 2.1.0-beta.18, 2.1.0-beta.19, 2.1.0-beta.20, 2.1.0-beta.21, 2.1.0-beta.22, 2.1.0-beta.23, 2.1.0-beta.24, 2.1.0-beta.25, 2.1.0-beta.26, 2.1.0-beta.27, 2.1.0-beta.28, 2.1.0-beta.29, and 35 more

References 7

VulDB

GitHub · hankcs/HanLP

GitHub · user-attachments/files