Deserialization in Hankcs Hanlp
CVE-2026-133836
- CVSS v3
- 6.3 Medium
- Public exploits
- None known
- EPSS
- Not scored yet
- Published
- 2026-11-20
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 · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
- Hankcs Hanlp — versions 2.1.0, 2.1.1, 2.1.2
Weakness classification (CWE)
References
- vuldb.com/vuln/441459 (technical-description, vdb-entry)
- vuldb.com/vuln/441459/cti (signature, permissions-required)
- vuldb.com/cve/CVE-2026-133836 (third-party-advisory)
- vuldb.com/submit/1051822 (third-party-advisory)
- gist.github.com/zewolkt3939/8f665b80c0878e5efde324c255d1abcd (exploit)
- github.com/hankcs/HanLP/commit/6962907e37dfa467fa6dee164b5b1d0a904b24db (patch)
- github.com/hankcs/HanLP/ (product)