Skip to main content

NEURON CoreNEURON EUVDEUVD-2026-117648

| CVE-2026-123203 MEDIUM
Stack-based Buffer Overflow (CWE-121)
2026-11-05 VulnCheck GHSA-qgg2-74c2-x77r
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious CoreNEURON dataset
  2. Delivery
    Embed over-long token in bbcore_mech.dat/globals.dat/files.dat
  3. Exploit
    Victim loads dataset with nrniv-core
  4. Execution
    Over-long token overflows fixed stack buffer
  5. Impact
    Stack memory corrupted, process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim to load an attacker-supplied CoreNEURON dataset into nrniv-core - specifically bbcore_mech.dat, globals.dat, or files.dat containing an over-long version or mechanism-name token that overflows a fixed-size stack buffer (per the patched reads in mk_mech.cpp, global_vars.cpp, and nrn_setup.cpp). Limiting factors: the vector is local (AV:L), not remote; it depends on user interaction (UI:P) in that the victim must obtain and load the crafted dataset files; and it affects NEURON/CoreNEURON through 9.0.2. No authentication is required (PR:N), but the attacker cannot trigger the flaw without the victim loading the malicious model data.

Impact

The input CVSS 4.0 vector (CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H) scores 6.9 (medium) and the signals are internally consistent: the flaw is a local-vector issue (AV:L) requiring passive user interaction (UI:P) - namely, a victim loading a crafted CoreNEURON dataset with nrniv-core - and its dominant impact is availability (VA:H, a process crash) with only low integrity (VI:L) from stack corruption and no confidentiality impact. There is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of active or widespread exploitation; no public exploit identified at time of analysis. The vuln.today Decision label is 'this_month', which aligns with a real-but-non-emergency fix priority rather than act_now. Net assessment: this is a legitimate DoS bug worth patching on a normal cadence, not a high-urgency remote threat - the local vector plus required user interaction materially limit real-world risk, and the confirmed impact is a crash rather than demonstrated code execution despite the CWE-121 stack-overflow class. One caveat: EPSS and KEV data are absent (not low - simply not provided), so exploitation probability could not be quantified from the input.

Exploit ScenarioDerived

An attacker distributes a crafted CoreNEURON model dataset - e.g. a shared simulation bundle whose bbcore_mech.dat, globals.dat, or files.dat contains an over-long version or mechanism-name token. When a researcher loads that dataset with nrniv-core, the oversized token overflows a fixed-size stack buffer and crashes the process. Exploitation is local and requires the victim to load the malicious files; no public exploit code is identified.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Stack-based buffer overflow in NEURON's CoreNEURON engine (through 9.0.2) allows an attacker to corrupt stack memory and crash the nrniv-core process by supplying over-long version or mechanism-name tokens in a crafted model dataset such as bbcore_mech.dat, globals.dat, or files.dat. The flaw is local-vector and requires the victim to open the crafted dataset files with nrniv-core (user interaction), with no authentication needed once those files are loaded; the dominant assessed impact is availability (process crash) plus limited integrity impact from stack corruption, and no confidentiality impact. No public exploit code has been identified at time of analysis, and the issue is not in CISA KEV; an upstream fix is available in pull request #3932 and commit 6e5a657.

RemediationAI

Apply the upstream fix in https://github.com/neuronsimulator/nrn/pull/3932 (commit 6e5a6578a3503c44ee0f19593e7ffb19812ef0e1), which replaces the unbounded fscanf("%s\n", ...) and stream-extraction reads in mk_mech.cpp, global_vars.cpp, and nrn_setup.cpp with the bounded read_bbcore_token and read_dataset_token helpers; no tagged release containing this change is independently confirmed in the supplied data, so verify the commit is present in the build you deploy. Note the fix is fail-closed: over-long tokens now trigger an nrn_assert abort rather than a silent truncation, so downstream workflows that legitimately produce long version or mechanism-name tokens will terminate and must be corrected to emit conforming dataset files. Until the patch is deployed, the practical control is provenance of the dataset itself - exploitability depends entirely on nrniv-core loading an attacker-supplied bbcore_mech.dat, globals.dat, or files.dat, so restrict model loading to datasets from trusted sources and inspect or regenerate the version and mechanism-name tokens (first token of bbcore_mech.dat and globals.dat, version token of files.dat) before running nrniv-core on them; this does not fix the underlying overflow and must be applied consistently across every host that runs simulations, since a single unvalidated dataset path reopens the crash vector. The vendor advisory link to retain for tracking is https://www.vulncheck.com/advisories/neuron-through-9.0.2-stack-based-buffer-overflow-via-coreneuron-dataset-tokens.

Affected VersionsENISA

neuron 0 ≤9.0.2

Affected Packages

euvd neuron no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-121 (stack-based buffer overflow). CoreNEURON is the compute backend used by the NEURON simulation environment; when nrniv-core starts it parses small metadata files that describe the compiled mechanism set and the global/file state of a serialized model. In the affected code the parsing used unbounded reads into fixed-size stack char arrays: fscanf(f, "%s\n", line) in global_vars.cpp (set_globals) and in nrn_setup.cpp (nrn_read_filesdat), and C++ stream extraction s >> version and s >> mname in mk_mech.cpp where tokens in bbcore_mech.dat are consumed. Neither form bounds the number of characters written, so a whitespace-delimited token longer than the destination buffer writes past the end of the stack array. The upstream patch introduces two bounded helpers, read_bbcore_token(FILE*, char*, size_t) in src/coreneuron/utils/nrnoc_aux.cpp and read_dataset_token(std::istream&, char*, size_t) in mk_mech.cpp, which read at most n-1 characters and assert (abort) when the token continues past that limit, replacing the unbounded fscanf/operator>> calls at mk_mech.cpp (version and mechanism-name reads), global_vars.cpp, and nrn_setup.cpp. Because the reads occur while loading model data, the trigger is entirely determined by the contents of the dataset files presented to nrniv-core; the sources do not describe any parsing path that is reachable without such a dataset being loaded.

Know when Neuron gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.1 MEDIUM

Exploitation needs the victim to load a crafted local dataset, so AV:L and UI:R with PR:N; the confirmed impact is a process crash (A:H) with only low integrity (I:L) from stack corruption and no confidentiality impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Red Hat 6.1 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

NEURON (CoreNEURON) through 9.0.2 contains a stack buffer overflow vulnerability that allows attackers to corrupt stack memory by supplying over-long tokens in a crafted model dataset. Attackers can place oversized version or mechanism-name tokens in bbcore_mech.dat, globals.dat, or files.dat loaded by nrniv-core to crash the process.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
academic neuroscience simulator with niche research-only footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy