Buffer overflow in Stefan Schippers Xschem
CVE-2026-128990
xschem 2.9.9 through 3.4.7 contains a heap out-of-bounds write vulnerability in read_dataset() in src/rawtovcd.c due to an unchecked variable index. Attackers can supply a crafted ngspice .raw file that, when converted with rawtovcd, writes file-controlled heap pointers at chosen signed offsets, corrupting heap memory.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.001, 2.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/StefanSchippers/xschem (product)
- github.com/StefanSchippers/xschem/blob/3.4.7/src/rawtovcd.c (technical-description)
- github.com/StefanSchippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517… (patch)
- www.vulncheck.com/advisories/xschem-2.9.9-through-3.4.7-heap-out-of-bounds-writ… (third-party-advisory)