onnx — security advisory
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.4.0 until 1.22.0, ScanInferenceFunction, ScanInferenceFunction_opset8, and ScanInferenceFunction_opset9 do not safely validate the required num_scan_inputs attribute. A missing attribute is dereferenced as a null pointer, while a negative value is converted to size_t and can reach an exceptional oversized allocation path. An untrusted model can therefore terminate or disrupt shape inference, including a negative-value model that can pass onnx.checker.check_model(). This issue is fixed in version 1.22.0.
- Products
- onnx
- Affected versions
- 1.12.0-2, 1.13.1-1, 1.13.1-2, 1.13.1-3, 1.14.1-1, 1.14.1-2, 1.14.1-2.1, 1.14.1-2.1~exp1, 1.16.1-1, 1.16.2-1, 1.17.0-1, 1.17.0-2, 1.17.0-3, 1.19.1-1~exp1, 1.20.0-1, 1.20.0-1~exp1, 1.20.0-3, 1.20.0-4, 1.20.0-5, 1.20.0-6, 1.21.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-115921
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:42 UTC · Revision 1
Source evidence
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.4.0 until 1.22.0, ScanInferenceFunction, ScanInferenceFunction_opset8, and ScanInferenceFunction_opset9 do not safely validate the required num_scan_inputs attribute. A missing attribute is dereferenced as a null pointer, while a negative value is converted to size_t and can reach an exceptional oversized allocation path. An untrusted model can therefore terminate or disrupt shape inference, including a negative-value model that can pass onnx.checker.check_model(). This issue is fixed in version 1.22.0.
osv:DEBIAN-CVE-2026-115921
onnx
Fixed versions: Not specified
onnx
Fixed versions: Not specified
onnx
Fixed versions: Not specified
Complete source record
{
"id": "e7e666c5a08b96f69108f8fc97d3e67eceebc9d36e4676baf477987fdf236870",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-115921",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-115921",
"summary": "Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.4.0 until 1.22.0, ScanInferenceFunction, ScanInferenceFunction_opset8, and ScanInferenceFunction_opset9 do not safely validate the required num_scan_inputs attribute. A missing attribute is dereferenced as a null pointer, while a negative value is converted to size_t and can reach an exceptional oversized allocation path. An untrusted model can therefore terminate or disrupt shape inference, including a negative-value model that can pass onnx.checker.check_model(). This issue is fixed in version 1.22.0.",
"evidence": "osv:DEBIAN-CVE-2026-115921",
"products": [
{
"name": {
"value": "onnx",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.12.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.13.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.13.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.13.1-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.14.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.14.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.14.1-2.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.14.1-2.1~exp1",
"evidence": "/affected/0/versions"
},
{
"value": "1.16.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.16.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.17.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.17.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.17.0-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.1-1~exp1",
"evidence": "/affected/0/versions"
},
{
"value": "1.20.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.20.0-1~exp1",
"evidence": "/affected/0/versions"
},
{
"value": "1.20.0-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.20.0-4",
"evidence": "/affected/0/versions"
},
{
"value": "1.20.0-5",
"evidence": "/affected/0/versions"
},
{
"value": "1.20.0-6",
"evidence": "/affected/0/versions"
},
{
"value": "1.21.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "onnx",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.17.0-3",
"evidence": "/affected/1/versions"
},
{
"value": "1.19.1-1~exp1",
"evidence": "/affected/1/versions"
},
{
"value": "1.20.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.20.0-1~exp1",
"evidence": "/affected/1/versions"
},
{
"value": "1.20.0-3",
"evidence": "/affected/1/versions"
},
{
"value": "1.20.0-4",
"evidence": "/affected/1/versions"
},
{
"value": "1.20.0-5",
"evidence": "/affected/1/versions"
},
{
"value": "1.20.0-6",
"evidence": "/affected/1/versions"
},
{
"value": "1.21.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "onnx",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.17.0-3",
"evidence": "/affected/2/versions"
},
{
"value": "1.19.1-1~exp1",
"evidence": "/affected/2/versions"
},
{
"value": "1.20.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.20.0-1~exp1",
"evidence": "/affected/2/versions"
},
{
"value": "1.20.0-3",
"evidence": "/affected/2/versions"
},
{
"value": "1.20.0-4",
"evidence": "/affected/2/versions"
},
{
"value": "1.20.0-5",
"evidence": "/affected/2/versions"
},
{
"value": "1.20.0-6",
"evidence": "/affected/2/versions"
},
{
"value": "1.21.0-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-115921",
"aliases": [
"DEBIAN-CVE-2026-115921"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "onnx",
"purl": "pkg:deb/debian/onnx?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.12.0-2",
"1.13.1-1",
"1.13.1-2",
"1.13.1-3",
"1.14.1-1",
"1.14.1-2",
"1.14.1-2.1",
"1.14.1-2.1~exp1",
"1.16.1-1",
"1.16.2-1",
"1.17.0-1",
"1.17.0-2",
"1.17.0-3",
"1.19.1-1~exp1",
"1.20.0-1",
"1.20.0-1~exp1",
"1.20.0-3",
"1.20.0-4",
"1.20.0-5",
"1.20.0-6",
"1.21.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115921.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "onnx",
"purl": "pkg:deb/debian/onnx?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.17.0-3",
"1.19.1-1~exp1",
"1.20.0-1",
"1.20.0-1~exp1",
"1.20.0-3",
"1.20.0-4",
"1.20.0-5",
"1.20.0-6",
"1.21.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115921.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "onnx",
"purl": "pkg:deb/debian/onnx?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.17.0-3",
"1.19.1-1~exp1",
"1.20.0-1",
"1.20.0-1~exp1",
"1.20.0-3",
"1.20.0-4",
"1.20.0-5",
"1.20.0-6",
"1.21.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-115921.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-31T09:47:29.304819440Z",
"provider": "osv",
"upstream": [
"CVE-2026-115921"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-115921"
]
},
"related_cves": [
{
"value": "CVE-2026-115921",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461027,
"published_at": "2026-10-26T18:17:39.99+00:00"
}