CVE-2019-12760

LOW

parso < 0.4.0 - Remote Code Execution via Pickle Deserialization

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7
Issue Tracking x_refsource_misc
https://github.com/davidhalter/parso/issues/75

Scores

CVSS v3 3.3
EPSS 0.0152
EPSS Percentile 71.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-502
Status published
Products (2)
parso_project/parso < 0.4.0
pypi/parso 0PyPI
Published Jun 06, 2019
Tracked Since Feb 18, 2026