{"answers":{"affected":"2 open source packages ship an affected version, including onnx.","exploited":"There is no known exploitation of CVE-2026-115921 in the wild and no public exploit code.","fix":"Upgrade onnx to 1.22.0 or later.","what":"CVE-2026-115921 is a medium-severity vulnerability in onnx, published on 26 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-115921 and fix it if it is affected.\n\nWhat it is: CVE-2026-115921 is a medium-severity vulnerability in onnx, published on 26 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-115921 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- onnx (PyPI): affected from 1.4.0; fixed in 1.22.0\n- onnx (PyPI): affected from 1.4.0; fixed in 1.22.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-115921/ (Markdown: https://insights.sbomify.com/CVE-2026-115921/index.md)","id":"CVE-2026-115921","markdown":"https://insights.sbomify.com/CVE-2026-115921/index.md","name":"CVE-2026-115921","record":{"aliases":["DEBIAN-CVE-2026-115921","ECHO-7bdd-e92f-26f6","GHSA-m4pr-6v3c-6fgr","UBUNTU-CVE-2026-115921"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"},{"id":"CWE-195","name":"Signed to Unsigned Conversion Error"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute","id":"CVE-2026-115921","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"ONNX: Denial of service via unchecked expansion of packed sub-byte tensors in ONNX Python APIs","id":"CVE-2026-115922"},"packages":[{"ecosystem":"PyPI","fixed":["1.22.0"],"introduced":["1.4.0"],"last_affected":[],"package":"onnx","purl":null,"source":"GHSA-m4pr-6v3c-6fgr"},{"ecosystem":"PyPI","fixed":["1.22.0"],"introduced":["1.4.0"],"last_affected":[],"package":"onnx","purl":"pkg:pypi/onnx","source":"GHSA-m4pr-6v3c-6fgr"}],"prev":{"headline":"ONNX: Out-of-bounds read in ConvTranspose shape inference via undersized weight rank","id":"CVE-2026-115920"},"products":["onnx"],"published":"2026-10-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-26","vendors":["onnx"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-115921/"}