CVE-2024-27319: Onnx Out-of-bounds Read vulnerability
Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNXASSERT and ONNXASSERTM functions have an off by one string copy.
Published Feb 23, 2024 · Updated Mar 14, 2026
Affected packages
onnx
- Ecosystem
- PyPI
- Affected
- <= 1.15.0
- Fixed in
- 1.16.0
- Check
pip show onnx
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to iarspider.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27319
- https://github.com/onnx/onnx/commit/08a399ba75a805b7813ab8936b91d0e274b08287
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL
- https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2024-223.yaml
- https://github.com/advisories/GHSA-h8wv-9h96-m4hr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-115919
ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)
medium6.2Oct 28, 2026CVE-2026-115920
ONNX: Out-of-bounds read in ConvTranspose shape inference via undersized weight rank
medium6.2Oct 28, 2026CVE-2026-115921
ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute
medium6.2Oct 28, 2026CVE-2026-115922
ONNX: Denial of service via unchecked expansion of packed sub-byte tensors in ONNX Python APIs
medium6.2Oct 28, 2026CVE-2026-63632
ONNX: Heap-Buffer-Overflow READ in Gemm Version Converter Adapter via Undersized Input Shape
low3.3Jul 24, 2026CVE-2026-44512
ONNX has Null Pointer Dereference in Upsample Version Converter Adapter (Zero Inputs)
medium5.5Jul 7, 2026
