Live threats

All CVEs / Parso Project

CVE-2019-12760Parso Project Parso

Low 3.3

Priority
20
CVSS 3.1
3.3
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
Yes
Published
Jun 6, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Parso.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI parso < 0.5.0 0.5.0 pip install "parso>=0.5.0"

Per OSV / GitHub Advisories (PYSEC-2019-109). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
parso_projectparso≤ 0.4.0

Official sources

References

Links published by the sources. Open them with care.