CVE-2026-33491 Details
Description
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.
A stack-based buffer overflow vulnerability has been identified in the Zen C compiler, prior to version 0.4.4. This vulnerability allows attackers to cause a compiler crash or potentially execute arbitrary code by providing a specially crafted Zen C source file with excessively long struct, function, or trait identifiers. The issue arises from the compiler's use of fixed-size stack buffers for internal name mangling and identifier construction, which are vulnerable to overflow when handling long identifiers.
Users are advised to update to Zen C version 0.4.4 or later, where the vulnerability has been fixed by replacing fixed-size stack buffers with dynamically allocated ones, using safe formatting functions to prevent overflow, and aligning the handling of long identifiers across the compiler.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zenc-lang/zenc/security/advisories/GHSA-rv74-w6q7-h8xr | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| zenc-lang zen c | < 0.4.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 1, 2026 | Reanalysis | [email protected] |
| Apr 2, 2026 | Initial Analysis | [email protected] |
| Mar 26, 2026 | New CVE Received | [email protected] |