Deserialization of Untrusted Data Affecting parso package, versions <0.5.1-0.1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.53% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-PARSO-11763820
  • published10 Aug 2025
  • disclosed6 Jun 2019

Introduced: 6 Jun 2019

CVE-2019-12760  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Debian:14 parso to version 0.5.1-0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream parso package and not the parso package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.