Skip to main content

Zenc CVE-2026-33491

| EUVDEUVD-2026-16319 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-03-26 GitHub_M
7.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Create malicious .zc file with oversized identifier
  2. Exploit
    Parser reads identifier into stack buffer
  3. Execution
    Buffer overflow occurs
  4. Impact
    Arbitrary 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

zenc < 0.4.4

Affected Packages

euvd zenc fix: 0.4.4

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

GitHub Advisory PRIMARY 7.8 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:13 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
0.4.4
CVE Published
Mar 26, 2026 - 18:39 nvd
HIGH 7.8

DescriptionGitHub 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 97% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy