Live threats

All CVEs / Python

CVE-2019-19274Python Typed Ast

High 7.5 No auth needed

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.)

Original NVD text.

What to do

  1. Apply the vendor's security update for Typed Ast.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
pythontyped_ast1.3.0
pythontyped_ast1.3.1

Official sources

References

Links published by the sources. Open them with care.