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

Published Oct 19, 2026
·
Updated

A vulnerability has been found in hankcs HanLP up to 2.1.0-beta.64. The affected element is the function loadword2vecasvocabtensor of the file hanlp/utils/torchutil.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 Software

1 affected component
hankcs HanLP<=2.1.0-beta.64

Event History

Oct 19, 2026
CVE Published
via MITRE·04:45 AM
Data Sourced
via MITRE·04:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

HanLP versions up to 2.1.0-beta.64 are identified as affected. The vulnerable code is in hanlp/utils/torch_util.py.

2

What does exploitation require?

An attacker needs to influence the vectors.vocab argument passed to the affected function. The attack can be carried out remotely, but the vector includes user interaction as a required condition.

3

How urgent is remediation?

A public exploit has been disclosed, and the issue report states that the project had not responded at the time of the report. The vulnerability is rated medium severity with impacts to confidentiality, integrity, and availability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203