Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
2.1

CVE-2026-133836: HanLP up to 2.1.6 can load malicious model files

CVE-2026-133836 · published 12 days ago
Summary

The HanLP library versions up to 2.1.6 allow a specially crafted model file to be loaded, which could let an attacker run unwanted code on your system. This risk can be triggered from a remote location if the vulnerable function processes a malicious file. Update the library to version 2.1.7 to stop the problem.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
hankcs hanlp 2.1.0
Original advisory text
hankcs HanLP contextual_string_embedding.py RNNLanguageModel.load_language_model deserialization
A vulnerability has been found in hankcs HanLP up to 2.1.6. The affected element is the function RNNLanguageModel.load_language_model of the file hanlp/layers/embeddings/contextual_string_embedding.py. Such manipulation of the argument model_file leads to deserialization. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. Upgrading to version 2.1.7 is sufficient to fix this issue. The name of the patch is 6962907e37dfa467fa6dee164b5b1d0a904b24db. The affected component should be upgraded.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
2.1 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-502Deserialization of Untrusted Data
CWE-20Improper Input Validation
Timeline
Published20 Nov 2026
Updated2 Dec 2026
First seen20 Nov 2026
Sources
CVE-2026-133836 · MITRE
Track software like this
Free during beta