{"id":"CVE-2026-128990","summary":"xschem 2.9.9 through 3.4.7 Heap Out-of-Bounds Write via rawtovcd read_dataset()","details":"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.","modified":"2026-11-15T07:03:31.648974368Z","published":"2026-11-13T15:01:43.598Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128990.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"2.9.9"},{"last_affected":"3.4.7"}],"source":"AFFECTED_FIELD"}]},{"extracted_events":[{"source":"DESCRIPTION","range":[{"introduced":"2.9.9"},{"last_affected":"3.4.7"}]}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128990.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128990"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/xschem-2.9.9-through-3.4.7-heap-out-of-bounds-write-via-rawtovcd-read-dataset"},{"type":"FIX","url":"https://github.com/StefanSchippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517f1"},{"type":"PACKAGE","url":"https://github.com/StefanSchippers/xschem"},{"type":"ARTICLE","url":"https://github.com/StefanSchippers/xschem/blob/3.4.7/src/rawtovcd.c#L124-L148"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/stefanschippers/xschem","events":[{"introduced":"0"},{"fixed":"e29af39c6133c36bdaf66603fd663231e75517f1"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"e29af39c6133c36bdaf66603fd663231e75517f1"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["3.4.7","3.4.6","3.4.5","3.4.4","3.4.3","3.4.2","3.4.1","3.1.0","3.0.0","2.9.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-128990.json","vanir_signatures":[{"source":"https://github.com/stefanschippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517f1","target":{"file":"src/save.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["7277915882727108602748507625288366031","333703882254550439925383341974657877398","265212104422503224043125835963163250729","124456148718636096768588557048383674668"]},"id":"CVE-2026-128990-423bae03","signature_type":"Line","signature_version":"v1"},{"source":"https://github.com/stefanschippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517f1","target":{"file":"src/rawtovcd.c"},"deprecated":false,"digest":{"line_hashes":["223568104127745959783203444784845434712","44000750525366989348953368924471610690","71457780473049266346380283453731157630","1621892560080005193898965857754402994"],"threshold":0.9},"id":"CVE-2026-128990-841ac956","signature_type":"Line","signature_version":"v1"},{"signature_version":"v1","source":"https://github.com/stefanschippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517f1","target":{"function":"filter_data","file":"src/save.c"},"deprecated":false,"digest":{"function_hash":"64028269037102299202681734784522388170","length":168250},"id":"CVE-2026-128990-b3a31c9b","signature_type":"Function"},{"signature_version":"v1","source":"https://github.com/stefanschippers/xschem/commit/e29af39c6133c36bdaf66603fd663231e75517f1","target":{"function":"read_dataset","file":"src/rawtovcd.c"},"deprecated":false,"digest":{"function_hash":"104387625446968265087168261315718351019","length":1551},"id":"CVE-2026-128990-e2e88495","signature_type":"Function"}],"vanir_signatures_modified":"2026-11-15T07:03:31Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}