CVE-2019-19274 json
typed-ast Out-of-bounds Read
published 2019-11-26 6 y ago modified 2026-06-17 4 mo ago also GHSA-m3jw-62m7-jjcm , PYSEC-2019-130 , EUVD-2019-0149
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- pypi typed-ast 1.3.2
- python3-typed-ast Debian 12 1.4.0-1
debian advisories DEBIAN-CVE-2019-19274
- python-typed-ast Package Hub 15 SP1 1.3.1-bp151.2.6.1
- python-typed-ast openSUSE Leap 15.1 1.3.1-lp151.2.6.1
opensuse advisories openSUSE-SU-2020:0609-1openSUSE-SU-2020:0567-1
- github.com/python/typed_ast@156afcb commit
- github.com/python/cpython@dcfcd14 commit
- github.com/python/cpython@a4d7836 commit
- github.com/python/typed_ast@dc317ac commit
- bugs.python.org/issue36495 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-19274 updated cvss 5.9
python3-typed_ast: out-of-bounds read in handle_keywordonly_args() function
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.28% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | typed-ast | >=1.3.0, <1.3.2 <1.3.2 |
1.3.2 |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dce
web, patch, third-party-advisory
-
github.com
/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c
web, patch, third-party-advisory
-
github.com
/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55e
web, patch, third-party-advisory
-
github.com
/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3b
web, patch, third-party-advisory
-
bugs.python.org
/issue36495
web, patch, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-19274
advisory
-
github.com
/advisories/GHSA-m3jw-62m7-jjcm
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/typed-ast/PYSEC-2019-130.yaml
web
-
github.com
/python/typed_ast
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA/
web
Sources
- CVE List CVE-2019-19274
- GitHub Advisory GHSA-m3jw-62m7-jjcm
- NVD CVE-2019-19274
- OSV PYSEC-2019-130
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.