CVE-2026-133836
5.3medium
hankcs HanLP contextual_string_embedding.py RNNLanguageModel.load_language_model deserialization
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| hankcs HanLP | 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6 Not affected: 2.1.7 | CVE List |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
Classification
References
| https://vuldb.com/vuln/441459 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/441459/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-133836 | third-party-advisory | |
| https://vuldb.com/submit/1051822 | third-party-advisory | |
| https://gist.github.com/zewolkt3939/8f665b80c0878e5efde324c255d1abcd | exploit | |
| https://github.com/hankcs/HanLP/commit/6962907e37dfa467fa6dee164b5b1d0a904b24db | patch | |
| https://github.com/hankcs/HanLP/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-133836 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2026-133836 changed 2026-11-23 | Public domain |