CVE Explorer
CVE-2026-28207
Zen C is a systems programming language that compiles to human-readable GNU C/C11. Prior to version 0.4.2, a command injection vulnerability (CWE-78) in the Zen C compiler allows local attackers to execute arbitrary shell commands by providing a specially crafted output filename via the `-o` command-line argument. The vulnerability existed in the `main` application logic (specifically in `src/main.c`), where the compiler constructed a shell command string to invoke the backend C compiler. This c
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"Zen-C","vendor":"z-libs","versions":[{"status":"affected","version":"< 0.4.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:7dfcb1e04f28f5dec05e7a02e1d3690d0c00866a7e144141846aca56f1a479c4 · sha256:dec9e594016e56c4… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":6.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:7dfcb1e04f28f5dec05e7a02e1d3690d0c00866a7e144141846aca56f1a479c4 · sha256:dec9e594016e56c4… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7dfcb1e04f28f5dec05e7a02e1d3690d0c00866a7e144141846aca56f1a479c4 · sha256:dec9e594016e56c4… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"https://f0nduesav0yarde.github.io/blog/vulnerabilities/cve-2026-28207/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7dfcb1e04f28f5dec05e7a02e1d3690d0c00866a7e144141846aca56f1a479c4 · sha256:dec9e594016e56c4… · /containers/adp/0/references/0
{"name":"https://github.com/z-libs/Zen-C/security/advisories/GHSA-9rff-x96h-76h2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/z-libs/Zen-C/security/advisories/GHSA-9rff-x96h-76h2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7dfcb1e04f28f5dec05e7a02e1d3690d0c00866a7e144141846aca56f1a479c4 · sha256:dec9e594016e56c4… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/z-libs/Zen-C/security/advisories/GHSA-9rff-x96h-76h2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7dfcb1e04f28f5dec05e7a02e1d3690d0c00866a7e144141846aca56f1a479c4 · sha256:dec9e594016e56c4… · /containers/adp/1/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.