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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T21:30:20.809Z
- Modified: 2026-11-23T17:17:32.377Z
- Weaknesses: CWE-20, CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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)

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://gist.github.com/zewolkt3939/8f665b80c0878e5efde324c255d1abcd> (exploit)
- <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://github.com/hankcs/HanLP/commit/6962907e37dfa467fa6dee164b5b1d0a904b24db> (patch)
- <https://github.com/hankcs/HanLP/> (product)

## Sources

- CVE List: [CVE-2026-133836](https://www.cve.org/CVERecord?id=CVE-2026-133836), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-133836](https://nvd.nist.gov/vuln/detail/CVE-2026-133836), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-133836 · Whole record: https://cve.day/CVE-2026-133836.json · Rebuilt by cve.day 2026-11-25T22:59:52.478Z
