PyPI
CVE-2026-115920
ONNX: Out-of-bounds read in ConvTranspose shape inference via undersized weight rank
- Severity
- Medium 6.2
- Published
- 28 Oct 2026
- Last changed
- 28 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.22.0
- Exploit chance
- 0.2% in the next 30 daysHigher than 7% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Out-of-bounds read (CWE-125)
- Attack
- Needs local access · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-6pwm-x34p-fvj2
- Sources
- OSV.dev and GitHub
Description
ONNX ConvTranspose shape inference performed an out-of-bounds read when the weight tensor had fewer than three dimensions and the model did not provide a kernel_shape attribute.
The inference function derived an empty effective_kernel_shape vector from the undersized weight tensor, then indexed that vector once for each spatial dimension of the input tensor. A crafted model passed onnx.checker.check_model() and caused SIGSEGV when passed to onnx.shape_inference.infer_shapes().
For an input shape such as [1, 1, 5], shape inference computes one spatial input dimension. A weight shape such as [1, 3] has no spatial dimensions, so deriving kernel_shape from dimensions 2 onward produces an empty vector. The output loop nevertheless accesses effective_kernel_shape[0].
The defect affected both the older convTransposeShapeInference_opset11() path and the then-current ConvTranspose inference implementation.
Affected software
| Software | Affected versions |
|---|---|
onnxPyPI · osv:PyPI:onnx |
|
About onnx
- Weekly downloads (PyPI)
- 4,009,268PyPI Stats, 23 Nov 2026
Vulnerabilities in onnx
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-115922ONNX: Denial of service via unchecked expansion of packed sub-byte tensors in ONNX Python APIsMedium 6.2 28 Oct 2026
- CVE-2026-115921ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required AttributeMedium 6.2 28 Oct 2026
- CVE-2026-115919ONNX: Out-of-Bounds Read in RNN/GRU/LSTM Shape Inference (Old Opsets, Missing Rank Check)Medium 6.2 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-115920
- GitHub Advisory Database https://github.com/advisories/GHSA-6pwm-x34p-fvj2