CVE-2019-19274
typed-ast Out-of-bounds Read
Also known as GHSA-m3jw-62m7-jjcm, PYSEC-2019-130
Mitigation
- Upgrade typed-ast to 1.3.2 or later.
Who should check
- Projects that depend on PyPI package typed-ast (>= 1.3.0, < 1.3.2)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- typed-ast >= 1.3.0, < 1.3.2
- Fixed in
- 1.3.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 3.28% chance of exploitation in 30 days (percentile 89, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI typed-ast | >= 1.3.0, < 1.3.2 | 1.3.2 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2019-19274. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-19274.md Affected: typed-ast >= 1.3.0, < 1.3.2 Fixed in: 1.3.2 Steps: 1. Search this machine and project for typed-ast (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dce
- https://github.com/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c
- https://github.com/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55e
- https://github.com/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3b
- https://bugs.python.org/issue36495
Other
- 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
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA/
FAQ
Is CVE-2019-19274 being exploited?
There is no confirmed exploitation: CVE-2019-19274 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-19274?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2019-19274?
typed-ast >= 1.3.0, < 1.3.2.
Is there a fix for CVE-2019-19274?
Yes. Fixed in 1.3.2. Upgrade typed-ast to 1.3.2 or later.
How do I check if I'm affected by CVE-2019-19274?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.