Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3407: Heap-based Buffer Overflow in YosysHQ yosys

0
Medium
VulnerabilityCVE-2026-3407cvecve-2026-3407
Published: Mon Mar 02 2026 (03/02/2026, 03:02:09 UTC)
Source: CVE Database V5
Vendor/Project: YosysHQ
Product: yosys

Description

CVE-2026-3407 is a heap-based buffer overflow vulnerability in the YosysHQ yosys tool, specifically in the function Yosys::RTLIL::Const::set within the BLIF File Parser component. It affects all versions up to 0. 62. The vulnerability can be exploited locally by an attacker with low privileges and does not require user interaction. Although exploitation is possible, the issue is not consistently reproducible. The CVSS 4. 0 base score is 4. 8, indicating medium severity. No known exploits are currently in the wild, but public disclosure of the exploit code exists. Applying patches when available is strongly recommended to mitigate this risk.

AI-Powered Analysis

AILast updated: 03/02/2026, 07:10:27 UTC

Technical Analysis

The vulnerability identified as CVE-2026-3407 affects the YosysHQ yosys open-source synthesis tool used for hardware design. The flaw resides in the function Yosys::RTLIL::Const::set, located in the kernel/rtlil.h file, which is part of the BLIF File Parser component. This function improperly handles memory operations, leading to a heap-based buffer overflow condition. When maliciously crafted input is processed, the overflow can corrupt adjacent heap memory, potentially allowing an attacker to manipulate program behavior or cause a crash. The vulnerability is exploitable locally, requiring the attacker to have low-level privileges on the host system. No user interaction or authentication is necessary beyond local access. The issue is not reliably reproducible in all cases, which may limit exploit reliability. The vulnerability affects all yosys versions from 0.1 through 0.62, encompassing the entire release history up to the date of disclosure. While no exploits have been observed in the wild, the public availability of exploit code increases the risk of future attacks. The CVSS 4.0 vector (AV:L/AC:L/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P) reflects a medium severity rating with partial impact on availability and requiring local privileges but no user interaction or authentication. The vulnerability’s root cause is a programming error in memory management within a critical parsing function, underscoring the need for secure coding practices in hardware synthesis tools.

Potential Impact

The primary impact of this vulnerability is on the availability and integrity of systems running vulnerable versions of yosys. Successful exploitation could lead to application crashes or potentially arbitrary code execution, depending on the heap corruption's nature and surrounding memory layout. Since yosys is widely used in hardware design and synthesis workflows, especially in academic, research, and industrial environments focused on FPGA and ASIC development, disruption could delay critical design processes or compromise the integrity of hardware designs. The local attack vector limits remote exploitation, but insider threats or compromised local accounts could leverage this flaw to escalate privileges or disrupt operations. The vulnerability does not directly affect confidentiality or remote systems but poses a risk to the stability and trustworthiness of hardware design pipelines. Organizations relying on yosys for production or research should consider the risk of downtime and potential data corruption. The lack of known exploits in the wild currently reduces immediate risk, but public exploit disclosure increases the likelihood of future attacks.

Mitigation Recommendations

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.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-03-01T07:03:11.753Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69a5348c32ffcdb8a2af2b44

Added to database: 3/2/2026, 6:56:12 AM

Last enriched: 3/2/2026, 7:10:27 AM

Last updated: 3/2/2026, 9:00:58 AM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Related Threats

CVE-2026-20445: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition in MediaTek, Inc. MT6835, MT6855, MT6878, MT6879, MT6883, MT6885, MT6886, MT6889, MT6893, MT6895, MT6897, MT6899, MT6983, MT6985, MT6989, MT6991, MT6993, MT8188, MT8678, MT8755, MT8771, MT8797, MT8798

Unknown
VulnerabilityMon Mar 02 2026

CVE-2026-20444: CWE-787 Out-of-bounds Write in MediaTek, Inc. MT6739, MT6761, MT6765, MT6768, MT6781, MT6789, MT6833, MT6835, MT6853, MT6855, MT6877, MT6878, MT6879, MT6883, MT6885, MT6886, MT6889, MT6893, MT6895, MT6897, MT6899, MT6983, MT6985, MT6989, MT6991, MT6993, MT8186, MT8188, MT8196, MT8667, MT8673, MT8676, MT8678, MT8765, MT8766, MT8768, MT8771, MT8781, MT8791T, MT8792, MT8793, MT8795T, MT8796, MT8798, MT8873, MT8883

Unknown
VulnerabilityMon Mar 02 2026

CVE-2026-20443: CWE-416 Use After Free in MediaTek, Inc. MT6739, MT6761, MT6765, MT6768, MT6781, MT6789, MT6833, MT6835, MT6853, MT6855, MT6877, MT6878, MT6879, MT6883, MT6885, MT6886, MT6889, MT6893, MT6895, MT6897, MT6899, MT6983, MT6985, MT6989, MT6991, MT6993, MT8186, MT8188, MT8196, MT8667, MT8673, MT8676, MT8678, MT8765, MT8766, MT8768, MT8771, MT8781, MT8791T, MT8792, MT8793, MT8795T, MT8796, MT8798, MT8873, MT8883

Unknown
VulnerabilityMon Mar 02 2026

CVE-2026-20442: CWE-416 Use After Free in MediaTek, Inc. MT6739, MT6761, MT6765, MT6768, MT6781, MT6789, MT6833, MT6835, MT6853, MT6855, MT6877, MT6878, MT6879, MT6883, MT6885, MT6886, MT6889, MT6893, MT6895, MT6897, MT6899, MT6983, MT6985, MT6989, MT6991, MT6993, MT8186, MT8188, MT8196, MT8667, MT8673, MT8676, MT8678, MT8765, MT8766, MT8768, MT8771, MT8781, MT8791T, MT8792, MT8793, MT8795T, MT8796, MT8798, MT8873, MT8883

Unknown
VulnerabilityMon Mar 02 2026

CVE-2026-20441: CWE-787 Out-of-bounds Write in MediaTek, Inc. MT2718, MT6899, MT6991, MT8678, MT8793

Unknown
VulnerabilityMon Mar 02 2026

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses