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

Medium 5.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-133836?

CVE-2026-133836 is a medium-severity vulnerability in hankcs HanLP, published on 20 Nov 2026.

Official 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.

Weakness: CWE-502, CWE-20

Which versions are affected by CVE-2026-133836?

It affects 1 product.

Products include Hankcs Hanlp.

CPE match criteria (7)
CPE 2.3Versions
cpe:2.3:a:hankcs:hanlp:*:*:*:*:*:*:*:*from 2.1.0, up to 2.1.0
cpe:2.3:a:hankcs:hanlp:*:*:*:*:*:*:*:*from 2.1.1, up to 2.1.1
cpe:2.3:a:hankcs:hanlp:*:*:*:*:*:*:*:*from 2.1.2, up to 2.1.2
cpe:2.3:a:hankcs:hanlp:*:*:*:*:*:*:*:*from 2.1.3, up to 2.1.3
cpe:2.3:a:hankcs:hanlp:*:*:*:*:*:*:*:*from 2.1.4, up to 2.1.4
cpe:2.3:a:hankcs:hanlp:*:*:*:*:*:*:*:*from 2.1.5, up to 2.1.5
cpe:2.3:a:hankcs:hanlp:*:*:*:*:*:*:*:*from 2.1.6, up to 2.1.6

How do I fix CVE-2026-133836?

No fix has been published for CVE-2026-133836 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-133836 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-133836 exists.

Sources

Also known as GHSA-c6gp-rcww-7pq6.

Is CVE-2026-133836 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free