{"id":"CVE-2019-12760","aliases":["CVE-2019-12760","GHSA-22mf-97vh-x8rw","PYSEC-2019-109"],"related":[],"kind":"vulnerability","state":"published","title":"A deserialization vulnerability exists in the way parso through 0.4.0 handles grammar parsing from the cache.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"** 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.\"","format":"markdown","source":"ghsa"},{"lang":"es","text":"** EN DISPUTA ** Existe una vulnerabilidad de deserialización en la forma en que el parso a través de 0,4,0 maneja el análisis de la gramática desde el caché. La carga de caché se basa en pickle y, siempre que se pueda escribir un pickle malicioso en un archivo de gramática de caché y que se pueda desencadenar su análisis, este defecto lleva a la Ejecución de Código Arbitrario. NOTA: Esta identificación es cuestionada porque \"el directorio caché no está bajo el control del atacante en ninguna configuración común \".","source":"nvd"}],"published":"2019-06-06T18:55:03.000Z","modified":"2026-06-17T02:15:23.807Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.3,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","score":6,"rating":"MEDIUM"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.4.0"}],"ecosystem":"PyPI","package":"parso","purl":"pkg:pypi/parso","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.4.0"}],"vendor":"parso_project","product":"parso","cpe":"cpe:2.3:a:parso_project:parso:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.5.0"}],"ecosystem":"PyPI","package":"parso","purl":"pkg:pypi/parso","source":"pysec"}],"references":[{"url":"https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/davidhalter/parso/issues/75","tags":["report","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12760","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-22mf-97vh-x8rw","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/davidhalter/parso","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/parso/PYSEC-2019-109.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-06-11T20:34:09.413Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-12760","url":"https://www.cve.org/CVERecord?id=CVE-2019-12760","licence":"CVE Terms of Use","modified":"2024-08-04T23:32:54.763Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-22mf-97vh-x8rw","url":"https://github.com/advisories/GHSA-22mf-97vh-x8rw","licence":"CC-BY-4.0","modified":"2024-10-09T21:09:52.332Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-12760","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12760","licence":"Public domain","modified":"2026-06-17T02:15:23.807Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2019-109","url":"https://osv.dev/vulnerability/PYSEC-2019-109","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:06.251Z"}],"updatedAt":"2026-11-25T22:57:45.124Z","epss":{"score":0.01534,"percentile":0.75561,"date":"2026-12-01T12:00:22.000Z"}}