CVE-2019-19274Python Typed Ast
High 7.5 No auth needed
Follow: this CVE · Python · Python Typed Ast We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Nov 26, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.)
What to do
- Apply the vendor's security update for Typed Ast.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | typed-ast |
≥ 1.3.0 < 1.3.2 |
1.3.2 |
pip install "typed-ast>=1.3.2" |
| PyPI | typed-ast |
< 1.3.2 |
1.3.2 |
pip install "typed-ast>=1.3.2" |
Per OSV / GitHub Advisories (GHSA-m3jw-62m7-jjcm, PYSEC-2019-130). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | typed_ast | 1.3.0 |
| python | typed_ast | 1.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.python.org Patch Vendor Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.fedoraproject.org