Vulnerabilities · 2019 · Python
CVE-2019-19274
Python Typed Ast vulnerability
typed_ast 1.3.0 and 1.3.1 has a handle_keywordonly_args out-of-bounds read. An attacker with the ability to cause a Python interpreter to parse Python source (but not necessarily execute it) may be able to crash the interpreter process. This could be a concern, for example, in a web-based service that parses (but does not execute) Python code. (This issue also affected certain Python 3.8.0-alpha prereleases.)
Affected products
Typed Ast. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python Typed Ast runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.python.org/issue36495 · Patch
- github.com/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55e · Patch
- github.com/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c · Patch
- github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dce · Patch
- github.com/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3b · Patch
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L
- nvd.nist.gov/vuln/detail/CVE-2019-19274
- github.com/advisories/GHSA-m3jw-62m7-jjcm
- nvd.nist.gov/vuln/detail/CVE-2019-19274
- cve.org/CVERecord?id=CVE-2019-19274
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.