Security mailing lists by PureSourceCode

CVE-2019-12760

LOW 3.3CVSS 3.1

Deserialization 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD parso_project parso
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.