All advisories

Security advisoryCVE-2026-128990

xschem 2.9.9 through 3.4.7 Heap Out-of-Bounds Write via rawtovcd read_dataset()

Published:

Severity
High8.5
Vulnerability type
Out-of-bounds Write (CWE-787)
Credit
Discovered by Deus Rex Research
Published

CVSS 4.0 vector8.5 High

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

CVSS 3.1 vector7.8 High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Affected versions

xschem>= 2.9.9, <= 3.4.7

Remediation

View the upstream fix (opens in a new tab)

References

Advisories may be reused freely, without charge or registration.

To report a vulnerability in Deus Rex, contact disclosure@cyrex.tech.