typed-ast Out-of-bounds Read
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | typed-ast | >= 1.3.0, < 1.3.2 | 1.3.2 |
References
- https://github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dce
- https://github.com/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3b
- https://github.com/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c
- https://github.com/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55e
- https://bugs.python.org/issue36495
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA/
- https://github.com/advisories/GHSA-m3jw-62m7-jjcm
- https://nvd.nist.gov/vuln/detail/CVE-2019-19274
- https://github.com/pypa/advisory-database/tree/main/vulns/typed-ast/PYSEC-2019-130.yaml
- https://github.com/python/typed_ast
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-125- Platform
- Python (PyPI)
- Package
typed-ast- Disclosed
- 26.11.2019
- Updated
- 11.10.2026 11:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2019-130 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-m3jw-62m7-jjcm - CC BY 4.0
Vulnerability history: typed-ast
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 11.2019 11.2019
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
Disclosures per year
- 2019: 2
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
typed-ast Out-of-bounds Read this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.