Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Stefan Schippers | xschem | 2.9.9 – ≤ 3.4.7 | — |
References
- https://github.com/StefanSchippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517f1 patch
- https://github.com/StefanSchippers/xschem/blob/3.4.7/src/save.c#L3138-L3141 technical-description
- https://github.com/StefanSchippers/xschem product
- VulnCheck Advisory: xschem 2.9.9 through 3.4.7 Out-of-Bounds Read via read_xschem_file() Embedded-Symbol Record third-party-advisory