xschemのrawtovcdに脆弱性、細工されたrawファイルでヒープ領域の書き込みが起きるおそれ
Summary
xschem 2.9.9から3.4.7には、rawtovcdのread_dataset()で変数の添字を検査していないため、ヒープ領域の範囲外に書き込まれる脆弱性があります。細工されたngspiceの.rawファイルを変換すると、ヒープのメモリが壊されるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
xschem 2.9.9から3.4.7には、rawtovcdのread_dataset()で変数の添字を検査していないため、ヒープ領域の範囲外に書き込まれる脆弱性があります。細工されたngspiceの.rawファイルを変換すると、ヒープのメモリが壊されるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Stefan Schippersxschem |
2.9.9 – 3.4.7→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128990 xschem No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-128990 xschem No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com