P3 · MediumCVSS 6.3EPSS 0.5%
hankcs HanLP contextual_string_embedding.py RNNLanguageModel.load_language_model deserialization
- CVE-2026-133836
- GHSA-c6gp-rcww-7pq6
- EUVD-2026-131880
Description
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
hankcs HanLP
Affected versions Fixed in 2.1.0 none stated 2.1.1 none stated 2.1.2 none stated 2.1.3 none stated 2.1.4 none stated 2.1.5 none stated 2.1.6 none stated 2.1.7: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.