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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-02T03:02:09.924Z
- Modified: 2026-06-17T10:43:33.230Z
- Weaknesses: CWE-119, CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## 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; and 50 more

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/oneafter/0210/blob/main/yo2/repro> (exploit)
- <https://vuldb.com/?id.348302> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.348302> (permissions-required, signature)
- <https://vuldb.com/?submit.763755> (third-party-advisory)
- <https://github.com/YosysHQ/yosys/issues/5677> (issue-tracking)
- <https://github.com/YosysHQ/yosys/pull/5680> (issue-tracking, patch)
- <https://github.com/YosysHQ/yosys/pull/5681> (issue-tracking, patch)
- <https://github.com/YosysHQ/yosys/> (product)

## Sources

- CVE List: [CVE-2026-3407](https://www.cve.org/CVERecord?id=CVE-2026-3407), CVE Terms of Use, modified 2026-03-02
- NVD: [CVE-2026-3407](https://nvd.nist.gov/vuln/detail/CVE-2026-3407), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3407 · Whole record: https://cve.day/CVE-2026-3407.json · Rebuilt by cve.day 2026-11-25T22:59:15.073Z
