Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-77347: high-severity vulnerability (CVSS 8.8) in sc2in pozeiden.
What happened
Original description from the source: Pozeiden is a MermaidJS renderer written in Zig. Prior to 0.3.0, src/renderers/c4.zig, src/renderers/class.zig, src/renderers/er.zig, and src/renderers/requirement.zig use fixed row-layout arrays while deriving subsequent loop bounds from an untrusted diagram's actual item count, and src/renderers/state.zig indexes a fixed depth array using user-controlled nesting depth. A valid diagram with at least 193 grid items can make the row count exceed the 64-row storage, while a deeply nested state diagram can exceed the col_count depth storage through the public pozeiden.render() path. Safe CLI and ReleaseSafe builds abort the rendering process, enabling reliable denial of service in applications that render untrusted diagrams. ReleaseSmall WASM builds with safety checks disabled instead perform out-of-bounds stack reads or writes, creating a memory-safety violation. This issue is fixed in version 0.3.0.
Why it matters
High severity, CVSS 8.8.
Affected products and versions
sc2in pozeiden < 0.3.0
| Product | Versions | Fixed in |
|---|---|---|
| sc2in pozeiden | < 0.3.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/sc2in/pozeiden/security/advisories/GHSA-rg4m-w3p2-gf3p — CVE Program
- https://github.com/sc2in/pozeiden/commit/a48c3b11d74e485409644420739a6d61cd395ed3 — CVE Program
- https://github.com/sc2in/pozeiden/releases/tag/v0.3.0 — CVE Program
Weaknesses (CWE): CWE-125, CWE-787
Relevant change history
Published
Preliminary advisory published.