# CVE-2026-77347: Pozeiden: Out-of-bounds read/write (crash / memory corruption) on valid diagrams in grid-layout renderers

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.51% (percentile 36, 2026-11-28)
- **CWE:** CWE-125, CWE-787
- **Published:** 2026-11-20T18:11:10.750Z
- **Modified:** 2026-11-20T19:18:54.780Z

## Who should check

- Anyone running sc2in pozeiden \< 0.3.0

## Description

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.

## Affected and fixed versions

- sc2in pozeiden: \< 0.3.0 (cvelist)

## Mitigation

- Upgrade pozeiden to 0.3.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-77347. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-77347.md
Affected: sc2in pozeiden < 0.3.0
Fixed in: sc2in pozeiden 0.3.0

Steps:
1. Search this machine and project for sc2in pozeiden: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-77347 being exploited?

There is no confirmed exploitation: CVE-2026-77347 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-77347?

High: CVSS 8.8 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-77347?

sc2in pozeiden \< 0.3.0.

### Is there a fix for CVE-2026-77347?

Yes. Fixed in sc2in pozeiden 0.3.0. Upgrade pozeiden to 0.3.0 or later.

### How do I check if I'm affected by CVE-2026-77347?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/sc2in/pozeiden/security/advisories/GHSA-rg4m-w3p2-gf3p>
- patch: <https://github.com/sc2in/pozeiden/commit/a48c3b11d74e485409644420739a6d61cd395ed3>
- other: <https://github.com/sc2in/pozeiden/releases/tag/v0.3.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-77347>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-77347> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-77347>
