CVE-2026-133836
hankcs HanLP contextual_string_embedding.py RNNLanguageModel.load_language_model deserialization
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | 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 |
| 3.1 | 6.3 Medium | 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 |
| 3.0 | 6.3 Medium | 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 |
| 2.0 | 6.5 Medium | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
HanLPhankcs |
|
References
- VDB-441459 | hankcs HanLP contextual_string_embedding.py RNNLanguageModel.load_language_model deserializationvdb-entrytechnical-description
- VDB-441459 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-133836 | CVE Analysis and Reportthird-party-advisory
- Submit #1051822 | hankcs HanLP 2.1.6 Deserializationthird-party-advisory
- https://gist.github.com/zewolkt3939/8f665b80c0878e5efde324c255d1abcdexploit
- https://github.com/hankcs/HanLP/commit/6962907e37dfa467fa6dee164b5b1d0a904b24dbpatch
- https://github.com/hankcs/HanLP/product
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.