p PatchFirst

CVE-2026-133836

CVE-2026-133836 · hankcs HanLP contextual_string_embedding.py RNNLanguageModel.load_language_model deserialization

CVSS 5.3 · Medium · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Affected products and versions

  • hanlp

    Versions
    • 2.1.0: Affected
    • 2.1.1: Affected
    • 2.1.2: Affected
    • 2.1.3: Affected
    • 2.1.4: Affected
    • 2.1.5: Affected
    All versions (8)
    • 2.1.6: Affected
    • 2.1.7: Not affected

    Update to 2.1.7

Original sources

Check your server →