# CVE-2026-5659: pytries datrie trie File datrie.pyx Trie.__setstate__ deserialization

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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.27%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-06T13:00:19.796Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-20, CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in pytries datrie up to 0.8.3. The affected element is the function Trie.load/Trie.read/Trie.__setstate__ of the file src/datrie.pyx of the component trie File Handler. The manipulation results in deserialization. The attack can be launched remotely. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.

(As written by CVE List.)

## Affected

- pytries datrie: 0.8.0; 0.8.1; 0.8.2; 0.8.3

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://github.com/dhabaleshwar/Open-Source-Vulnerabilities/blob/main/dartie_code_exec.md> (exploit)
- <https://vuldb.com/vuln/355483> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/355483/cti> (permissions-required, signature)
- <https://vuldb.com/submit/785228> (third-party-advisory)
- <https://github.com/pytries/datrie/issues/109> (issue-tracking)
- <https://github.com/pytries/datrie/> (product)

## Sources

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

---

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