xschem 2.9.9 through 3.4.7 Heap Out-of-Bounds Write via rawtovcd read_dataset()
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 13, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 13, 2026
Description
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.
| Product | Versions |
|---|---|
| xschem Stefan Schippers | 2.9.9 through 3.4.7 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
References
- https://github.com/StefanSchippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517f1Patch
- https://github.com/StefanSchippers/xschem/blob/3.4.7/src/rawtovcd.c#L124-L148Technical Details
- https://github.com/StefanSchippers/xschemProduct Page
- VulnCheck Advisory: xschem 2.9.9 through 3.4.7 Heap Out-of-Bounds Write via rawtovcd read_dataset()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.