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

Read the record on cve.org

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

CVSSScoreVectorSource
4.05.3 MediumCVSS: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:PVulDB
3.16.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:CVulDB
3.06.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:CVulDB
2.07.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:CVulDB

Weaknesses

Affected Products

ProductVersions
HanLPhankcs
  • 2.1.0-beta.0Affected
  • 2.1.0-beta.1Affected
  • 2.1.0-beta.2Affected
  • 2.1.0-beta.3Affected
  • 2.1.0-beta.4Affected
  • 2.1.0-beta.5Affected
  • 2.1.0-beta.6Affected
  • 2.1.0-beta.7Affected
  • 2.1.0-beta.8Affected
  • 2.1.0-beta.9Affected
  • 2.1.0-beta.10Affected
  • 2.1.0-beta.11Affected
  • 2.1.0-beta.12Affected
  • 2.1.0-beta.13Affected
  • 2.1.0-beta.14Affected
  • 2.1.0-beta.15Affected
  • 2.1.0-beta.16Affected
  • 2.1.0-beta.17Affected
  • 2.1.0-beta.18Affected
  • 2.1.0-beta.19Affected
  • 2.1.0-beta.20Affected
  • 2.1.0-beta.21Affected
  • 2.1.0-beta.22Affected
  • 2.1.0-beta.23Affected
  • 2.1.0-beta.24Affected
  • and 40 more versions

References

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.