# CVE-2019-12760: A deserialization vulnerability exists in the way parso through 0.4.0 handles grammar parsing from the cache.

- Severity: Low 3.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N`
- 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): 1.53%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-06-06T18:55:03.000Z
- Modified: 2026-06-17T02:15:23.807Z
- Also known as: GHSA-22mf-97vh-x8rw, PYSEC-2019-109
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

A deserialization vulnerability exists in the way parso through 0.4.0 handles grammar parsing from the cache. Cache loading relies on pickle and, provided that an evil pickle can be written to a cache grammar file and that its parsing can be triggered, this flaw leads to Arbitrary Code Execution. NOTE: This is disputed because "the cache directory is not under control of the attacker in any common configuration.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- parso (PyPI): up to 0.4.0; before 0.5.0
- parso_project parso: up to 0.4.0

## Every score

- CISA-ADP: CVSS:3.1 3.3 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U`
- NVD: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7> (exploit, third-party-advisory, web)
- <https://github.com/davidhalter/parso/issues/75> (report, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-12760> (advisory)
- <https://github.com/advisories/GHSA-22mf-97vh-x8rw> (advisory)
- <https://github.com/davidhalter/parso> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/parso/PYSEC-2019-109.yaml> (web)

## Sources

- CVE List: [CVE-2019-12760](https://www.cve.org/CVERecord?id=CVE-2019-12760), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-22mf-97vh-x8rw](https://github.com/advisories/GHSA-22mf-97vh-x8rw), CC-BY-4.0, modified 2024-10-09
- NVD: [CVE-2019-12760](https://nvd.nist.gov/vuln/detail/CVE-2019-12760), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2019-109](https://osv.dev/vulnerability/PYSEC-2019-109), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2019-12760 · Whole record: https://cve.day/CVE-2019-12760.json · Rebuilt by cve.day 2026-11-25T22:57:45.124Z
