Advisory record · GHSA-m4pr-6v3c-6fgr

ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute

CVSS 6.2 MediumEPSS 0.0013 · 2nd percentile

Published by the GitHub Advisory Database at 28 Oct 2026, 21:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
onnxPyPI>=1.4.0, <1.22.01.22.0
Identifiers
GHSA-m4pr-6v3c-6fgr · CVE-2026-115921
Weakness (CWE)
CWE-195 · CWE-476
Published
28 Oct 2026
Updated
28 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GHSA-m4pr-6v3c-6fgr affects the PyPI package onnx from 1.4.0 before 1.22.0, where Scan shape inference mishandled the required num_scan_inputs attribute. A missing attribute caused a null pointer dereference, and a negative value led to a large allocation failure that raised an exception. An attacker who supplies a malicious model to an application that runs shape inference on it can crash the process, which is a denial of service; no confidentiality or integrity impact was demonstrated. Upgrade to onnx 1.22.0 or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.2 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0013, the 2nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 26 Oct 2026, 17:28 UTC Confirmed by the CVE List
  2. 31 Oct 2026, 14:07 UTC First seen by agentprime
  3. 31 Oct 2026, 14:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.