CVE-2026-3407: YosysHQ yosys · Heap-based Buffer Overflow
Affects YosysHQ yosysSource CVE Database V5
Public exploit available · CVSS 4.8 Medium.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 2 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| YosysHQyosys | Affected
| Fixed in– |
GitHubyosyshq/yosyspkg:github/yosyshq/yosysOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate this vulnerability, organizations should promptly update yosys to a patched version once available beyond 0.62, as the affected versions include all releases up to that point. In the absence of an official patch, users should consider applying any available community fixes or workarounds that address the heap overflow in the BLIF File Parser. Restrict local access to systems running yosys to trusted users only, minimizing the risk of exploitation by low-privilege attackers. Employ runtime protections such as heap canaries, address space layout randomization (ASLR), and memory protection mechanisms to reduce the impact of potential heap overflows. Conduct thorough input validation and sanitization on BLIF files before processing to detect malformed or malicious inputs. Implement monitoring and logging to detect abnormal crashes or behavior in yosys processes, enabling rapid incident response. Finally, integrate secure coding reviews and fuzz testing in the development lifecycle of hardware synthesis tools to prevent similar vulnerabilities.
Description
A vulnerability was determined in YosysHQ yosys up to 0.62. This affects the function Yosys::RTLIL::Const::set of the file kernel/rtlil.h of the component BLIF File Parser. This manipulation causes heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. Applying a patch is the recommended action to fix this issue. It appears that the issue is not reproducible all the time.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/YosysHQ/yosys/issues/5677 (opens in a new tab)
- github.com/YosysHQ/yosys/pull/5680 (opens in a new tab)
- github.com/oneafter/0210/blob/main/yo2/repro (opens in a new tab)
- github.com/YosysHQ/yosys/pull/5681 (opens in a new tab)
- github.com/YosysHQ/yosys/ (opens in a new tab)