Skip to main content

xschem EUVDEUVD-2026-125401

| CVE-2026-128991 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-13 VulnCheck GHSA-qgxv-c8r7-mwww
5.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted .sch schematic to victim
  2. Delivery
    Victim opens file in xschem
  3. Exploit
    Parser hits '[' record with no preceding instance
  4. Execution
    read_xschem_file() reads below instance array
  5. Impact
    Out-of-bounds dereference crashes xschem

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Requires a victim to open an attacker-supplied schematic file in xschem (versions 2.9.9 through 3.4.7); the file must begin with a '[' embedded-symbol record that lacks a preceding instance, so that read_xschem_file() indexes below the instance array. Limiting factors that reduce real-world risk: the attack vector is local (AV:L) with no remote/network path, exploitation is gated on user interaction (UI:P - the target must choose to open the malicious file), the official vector marks a specific attack requirement (AT:P) and high complexity, and the outcome is limited to a crash of the application (no confidentiality impact per VC:N, no indication of code execution). The only complete fix per the vendor is updating past the patched commit.

Impact

This is a low-to-moderate priority local denial-of-service issue, not an urgent remote threat. The only provided CVSS vector is CVSS:4.0 (AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H), scoring 5.8 (Medium): the vector itself tells the story - Local attack vector plus required passive user interaction (UI:P) and a stated attack requirement (AT:P) mean an attacker cannot reach this over a network; a victim must be induced to open a crafted schematic file. Impact is confined to availability (VA:H - the process crashes) with no confidentiality impact (VC:N), consistent with the description of an out-of-bounds READ that dereferences memory and crashes rather than leaking it. There is no EPSS score, no CISA KEV listing, and no verified exploit code in the input - the VulnCheck advisory and the source-line/commit links are analysis and patch references, not weaponized PoC. The vuln.today decision label is 'this_month' (routine patching cadence), which aligns with the picture of a real but non-emergency bug. Note a conflict worth flagging: the input CVSS uses AC:H/AT:P implying a hard-to-meet or attacker-uncontrolled trigger condition, yet the description presents a deterministic trigger (a file simply beginning with a '[' record), which argues for lower complexity - the available sources do not explain why the official vector rates complexity high, so treat the AC:H/AT:P justification as unverified. Overall: a crash-only, user-interaction-gated flaw in niche EDA software - patch in normal cycle, not a drop-everything event.

Exploit ScenarioDerived

An attacker distributes a malicious xschem schematic (.sch) file - for example via email, a shared project repository, or an untrusted design library - crafted to begin with a '[' embedded-symbol record that has no preceding instance. When an engineer opens the file in a vulnerable xschem (2.9.9 through 3.4.7), read_xschem_file() reads and dereferences memory below the instance array, crashing the application. No public working exploit is identified in the provided data; impact is limited to a crash (denial of service), with no confidentiality or code-execution impact indicated.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

An out-of-bounds read in xschem's schematic parser lets a crafted file crash the application: if a schematic begins with a '[' embedded-symbol record that has no preceding instance, read_xschem_file() in src/save.c indexes below the instance array and dereferences memory it does not own. Versions 2.9.9 through 3.4.7 are affected, and exploitation requires the user to deliberately open the attacker-supplied schematic (local vector, UI:P, AT:P), so the realistic outcome is a local denial of service rather than code execution - the CVSS:4.0 vector records no confidentiality impact (VC:N) and only a crash for availability (VA:H). No public exploit code was identified at time of analysis, and the issue is rated a this-month priority rather than an emergency; upstream fix commit e29af39c6133c36bdaf66603fd663231e75517f1 is available.

RemediationAI

Apply the upstream fix commit e29af39c6133c36bdaf66603fd663231e75517f1 (https://github.com/StefanSchippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517f1), which adds an xctx->instances <= 0 guard in read_xschem_file() and also bounds-checks a variable index in src/rawtovcd.c; per the vendor, updating past the patched commit is the only complete fix, and a tagged release containing it was not independently confirmed at time of analysis, so re-verify the version shipped by your distribution rather than assuming 3.4.7 is patched. Until the fixed build is deployed, the practical exposure reduction is procedural: xschem is not remotely reachable for this flaw, so the only way to trigger it is opening a schematic supplied by someone else that begins with a '[' embedded-symbol record lacking a preceding instance - restrict xschem usage to schematics from trusted repositories and internal sources, and flag or reject externally received .sch/.sym files matching that pattern before loading. Be aware that such screening depends on the receiving workflow and does not fix the parser, so it does not replace the update. Advisory details are at https://www.vulncheck.com/advisories/xschem-2.9.9-through-3.4.7-out-of-bounds-read-via-read-xschem-file-embedded-symbol-record.

Affected VersionsENISA

xschem 2.9.9 ≤3.4.7

Affected Packages

euvd xschem 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

xschem is an open-source schematic capture and netlist/simulation front-end for analog and mixed-signal IC design, and its native .sch files are text records where an embedded symbol block is introduced by a '[' marker that is supposed to follow an instance record. This is a CWE-125 out-of-bounds read in the file loader: the code in src/save.c (referenced at lines 3138-3141 of the 3.4.7 tree) dereferences an index derived from the symbol record without first verifying that xctx->instances is greater than zero, so a file whose very first record is '[' drives the index below the start of the instance array, producing an invalid read and a crash. The upstream fix adds exactly that guard - read_xschem_file() now logs an 'embedded symbol block with no preceding instance; skipping' diagnostic, rewinds the '[' record and breaks out of the parse loop - and the same commit hardens an unrelated sscanf() in src/rawtovcd.c with an index range check (i < 0 || i >= nvars). The affected footprint is the generic xschem package as captured by CPE cpe:2.3:a:stefan_schippers:xschem (wildcarded versions), i.e. source builds and distributions shipping 2.9.9 through 3.4.7. The trigger is confined to malformed embedded-symbol records in a locally opened file; no network, IPC or privilege-boundary path is described in the available sources.

Know when Xschem 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 5.8 MEDIUM
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local file-parsing crash requiring the victim to open a crafted file (AV:L/UI:R); trigger is a deterministic leading '[' record so AC:L; no auth (PR:N), crash-only so C:N/I:N/A:H.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
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

xschem 2.9.9 through 3.4.7 contains an out-of-bounds read vulnerability in read_xschem_file() in src/save.c that mishandles embedded-symbol records lacking a preceding instance. Attackers can supply a crafted schematic beginning with a "[" record, causing xschem to read and dereference memory below the instance array and crash.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche open-source EDA schematic editor, small specialist user base
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.2%
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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +29
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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