Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCreate malicious .zc file with oversized identifier
-
ExploitParser reads identifier into stack buffer
-
ExecutionBuffer overflow occurs
-
ImpactArbitrary code execution with user privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Local attacker must supply a malicious .zc source file to a user running Zen C compiler versions prior to 0.4.4. The file contains excessively long struct, function, or trait identifiers triggering stack buffer overflow during compilation. Victim interaction required: user must compile the crafted file. |
| Impact | Real-world risk is moderate despite the high CVSS base score of 7.8. The attack vector is local (AV:L) with required user interaction (UI:R), meaning an attacker must convince a developer to compile a malicious .zc file-significantly limiting attack surface compared to remote or network-based vulnerabilities. SSVC assessment confirms proof-of-concept exploit availability and rates technical impact as total, but notes the attack is not automatable, requiring social engineering or supply chain compromise scenarios. The CVSS vector indicates no privileges required (PR:N) before user interaction, but exploitation depends entirely on tricking developers into processing attacker-controlled source files. No EPSS score is provided in available data, and no CISA KEV listing exists, indicating no confirmed active exploitation in production environments. This is a supply-chain-adjacent risk primarily relevant to development environments rather than production systems, making it lower priority than similarly-scored remotely exploitable vulnerabilities. |
| Exploit ScenarioDerived | An attacker distributes a malicious Zen C source file (.zc) via open-source repositories, dependency packages, or targeted phishing to developers. When a developer compiles this file containing specially crafted struct, function, or trait names exceeding buffer limits, the compiler crashes (denial of service) or, with precise payload engineering, executes attacker-controlled code with the privileges of the compilation process. Publicly available exploit code exists per SSVC assessment, lowering the technical barrier for exploitation in development or CI/CD environments where untrusted code compilation may occur. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
The Zen C compiler (versions prior to 0.4.4) crashes or enables arbitrary code execution when processing maliciously crafted .zc source files containing excessively long identifiers for structs, functions, or traits, triggering a stack-based buffer overflow (CWE-121). A proof-of-concept exploit exists per SSVC assessment, though attack complexity remains moderate as it requires local access and user interaction (CVSS:3.1/AV:L/AC:L/PR:N/UI:R). Vendor-released patch: version 0.4.4.
RemediationAI
Upgrade Zen C compiler to version 0.4.4 or later to receive the vendor-released patch addressing the stack buffer overflow, as documented in the GitHub security advisory at https://github.com/zenc-lang/zenc/security/advisories/GHSA-rv74-w6q7-h8xr. Organizations unable to immediately upgrade should implement compensating controls including restricting compilation to trusted source files only, implementing code review processes for all .zc files before compilation, and isolating compiler execution in sandboxed or containerized environments with limited privileges. Continuous integration pipelines should validate source file identifier lengths before compilation and consider implementing automated static analysis to detect suspicious patterns in source files prior to compiler invocation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Zen C is a systems programming language that transpiles to human-readable GNU C/C11 code. The vulnerability (CWE-121: Stack-based Buffer Overflow) resides in the compiler's identifier parsing logic, where insufficient bounds checking allows attackers to overflow stack-allocated buffers during compilation of source files. The affected product is identified via CPE cpe:2.3:a:zenc-lang:zenc:*:*:*:*:*:*:*:* covering all versions prior to 0.4.4. Stack-based buffer overflows occur when data written to a buffer exceeds its allocated stack memory region, potentially overwriting return addresses or function pointers to redirect program execution. In this compiler context, the overflow occurs during the compilation phase rather than in compiled output, making the compiler itself the attack surface.
Know when Zenc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
Zen C is a systems programming language that compiles to human-readable GNU C/C11. Prior to version 0.4.4, a stack-based buffer overflow vulnerability in the Zen C compiler allows attackers to cause a compiler crash or potentially execute arbitrary code by providing a specially crafted Zen C source file (.zc) with excessively long struct, function, or trait identifiers. Users are advised to update to Zen C version v0.4.4 or later to receive a patch.
Executive ViewAI
Zen C compiler versions prior to 0.4.4 contain a stack-based buffer overflow vulnerability that can lead to arbitrary code execution when processing malicious source files with excessively long identifiers. Development teams and build pipeline operators using affected compiler versions face risk of code injection during the compilation process, potentially compromising application integrity and security.
Apply vendor patch to version 0.4.4 or later. Until patched, implement strict source code review and validation workflows for external .zc submissions, restrict compiler access to trusted development personnel only, and isolate affected build systems from production environments.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-16319
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB