PYSEC-2019-39
not scored yetwithdrawn / rejected** DISPUTED ** 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."
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | parso | < 0.5.0 | 0.5.0 |
References
- https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7 · WEB
- https://github.com/davidhalter/parso/issues/75 · WEB
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Jun 2019)