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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Stefan Schippers | xschem | >= 2.9.9, <= 3.4.7 |
References
- https://github.com/StefanSchippers/xschem
- https://github.com/StefanSchippers/xschem/blob/3.4.7/src/rawtovcd.c#L124-L148
- https://github.com/StefanSchippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517f1
- https://www.vulncheck.com/advisories/xschem-2.9.9-through-3.4.7-heap-out-of-bounds-write-via-rawtovcd-read-dataset
Timeline
- Published
- Nov 13, 2026
- Last modified
- Nov 16, 2026
- NVD status
- Received