CVE-2019-12760
LOW 3.3CVSS 3.1Deserialization vulnerability exists in parso
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.
- Published
- 6 Jun 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-22mf-97vh-x8rwPYSEC-2019-109
- Sources
- NVDJSONOSV GHSA-22mf-97vh-x8rwJSONOSV PYSEC-2019-109JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | parso_project | parsocpe:2.3:a:parso_project:parso:*:*:*:*:*:*:*:* |
<= 0.4.0 | |
| OSV | PyPI | parso | <= 0.4.0 | |
| OSV | PyPI | parso | < 0.5.0 | 0.5.0 |
References
- https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7 · Exploit, Third Party Advisory, WEB
- https://github.com/davidhalter/parso/issues/75 · WEB, REPORT
- 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
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 6 Jun 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Jun 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jun 2019)