cvelo
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 versionsFixed in
    2.1.0none stated
    2.1.1none stated
    2.1.2none stated
    2.1.3none stated
    2.1.4none stated
    2.1.5none stated
    2.1.6none stated
    2.1.7: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.