Skip to main content

Pozeiden CVE-2026-77347

| EUVDEUVD-2026-131720 HIGH
Out-of-bounds Read (CWE-125)
2026-11-20 GitHub_M
8.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Submit untrusted MermaidJS diagram
  2. Delivery
    Declare ≥193 grid items or deep nesting
  3. Exploit
    Reach pozeiden.render() fill loop
  4. Execution
    Index past fixed 64-row/128-depth arrays
  5. Persist
    OOB read/write or process abort
  6. Impact
    Denial of service or memory-safety violation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an application that renders attacker-supplied MermaidJS markup through the public pozeiden.render() path (the embedder-facing API). The concrete trigger is a valid diagram that drives a fixed array out of bounds: for the c4, class, er, and requirement grid renderers, at least 193 items (with GRID_COLS=3 this yields n_rows≥65, exceeding the fixed [64]/[65] row arrays); for the state renderer, nesting depth exceeding the fixed col_count[128] storage. Limiting factors: the outcome depends on build mode - Safe CLI and ReleaseSafe builds abort (denial of service only), whereas an out-of-bounds stack read/write (memory-safety violation) occurs only in ReleaseSmall WASM builds with safety checks disabled. No authentication is required (PR:N) and no special configuration beyond the application choosing to render untrusted diagrams; versions ≤0.2.0 are affected and 0.3.0 contains the fix.

Impact

Signals are mixed and point to a credible but scope-limited priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, unauthenticated, low-complexity triggering with no user interaction, and vendor severity 8.8 is driven mainly by VA:H (availability) with only VC:L/VI:L. That availability weighting is well-founded: on Safe CLI and ReleaseSafe builds the guaranteed outcome is a process abort (SIGABRT), i.e. reliable denial of service, which the advisory confirms against the 0.2.0 binary (e.g. 200 Person elements → 'index out of bounds: index 64, len 64'). The confidentiality/integrity impact (the CWE-125 out-of-bounds read plus an out-of-bounds write) only materializes as a real memory-safety violation in the ReleaseSmall WASM build with safety checks disabled - a non-default, build-specific condition, so VC:L/VI:L should be read as conditional rather than universal. No EPSS score was provided and the vulnerability is not in CISA KEV, so there is no evidence of active exploitation; exploitation status is 'no public exploit identified at time of analysis,' though the GHSA advisory documents confirmed reproduction steps that make weaponization trivial. The vuln.today decision label is 'this_week,' consistent with a real-but-not-emergency priority: easy to trigger and patched, but gated on actually rendering untrusted diagrams and (for memory corruption) on an unsafe build. Note one data conflict: the advisory body states 'not yet patched / fixed in: not yet patched,' while the CVE description and the v0.3.0 release tag state the fix shipped in 0.3.0 - treat 0.3.0 as the fixed version but verify against the release.

Exploit ScenarioDerived

An application embeds Pozeiden and calls pozeiden.render() on MermaidJS diagrams supplied by untrusted users (e.g. a policy/markdown compiler). An attacker submits a single valid diagram containing at least 193 grid items (or a deeply nested state diagram), and when it is rendered the process aborts, taking down the whole in-process compile for a reliable DoS. Against a ReleaseSmall WASM build with safety checks off, the same input instead causes an attacker-influenced out-of-bounds stack read/write; the GHSA advisory documents confirmed reproduction but does not publish packaged exploit code.

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

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

Alert me

AnalysisAIv1 – Nov 20, 2026

Pozeiden 0.2.0 and earlier can be driven out of bounds while rendering a syntactically valid MermaidJS diagram through the public pozeiden.render() API, so any application that renders attacker-supplied diagrams is affected without authentication or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N, assessed 8.8 under CVSS 4.0). In Safe CLI and ReleaseSafe builds the result is a reliable process abort - a denial of service that takes down the whole renderer, including concurrent policy compiles - while ReleaseSmall WASM builds compiled without safety checks turn the same trigger into an out-of-bounds stack read and write. No public exploit code was identified at time of analysis; priority is set to this_week and the flaw is fixed in 0.3.0.

RemediationAI

Upgrade to Pozeiden 0.3.0 (https://github.com/sc2in/pozeiden/releases/tag/v0.3.0), which contains commit a48c3b11d74e485409644420739a6d61cd395ed3: the four grid renderers now heap-allocate max_desc_per_row, max_members_per_row, max_attrs_per_row, max_row_h and row_y sized to n_rows + 1 instead of fixed [64]/[65] arrays, and state.zig sizes col_count to global_max_depth + 2 so deep nesting can no longer index past it. Where upgrading is not immediately possible, keep the exposure off the pozeiden.render() path for untrusted input: reject or truncate diagrams before rendering when their grid item count reaches 193 or their state nesting depth reaches 128, accepting that legitimately large diagrams will also be refused, or run rendering of untrusted diagrams in a disposable child process so a safety-check abort only kills that worker rather than the host application. Note that disabling safety checks in ReleaseSmall WASM builds removes the abort but converts the bug into silent out-of-bounds stack reads and writes, so that is not a mitigation. Upstream also recommends pairing the fix with a post-parse node/element count cap inside render() as defense in depth. Advisory: https://github.com/sc2in/pozeiden/security/advisories/GHSA-rg4m-w3p2-gf3p.

Affected VersionsENISA

pozeiden < 0.3.0

Affected Packages

euvd pozeiden fix: 0.3.0

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

The defect is a bounds-checking gap in Zig renderer code (CWE-125 out-of-bounds read, with a companion out-of-bounds write in the requirement renderer). The c4, class, er and requirement renderers lay elements into a fixed 3-column grid and keep per-row aggregates in fixed-size arrays (max_desc_per_row / max_members_per_row / max_attrs_per_row / max_row_h sized [64], and row_y sized [65]). The build loop was guarded with a row < 64 check, but the subsequent fill loop iterates 0..n_rows and the row_y writes were unguarded, so any diagram declaring at least 193 grid items produces n_rows of 65 or more and indexes one element past the storage - the advisory confirms index 64 of a 64-element array and an OOB write at row_y[65] in requirement.zig. state.zig has a separate variant: col_count is a fixed [128] array indexed by user-controlled nesting depth, so a deeply nested state diagram reads past the array (state's row_y is heap-allocated, so only the read is affected). The behaviour is build-mode dependent: with safety checks enabled the invalid index panics and aborts the process; in ReleaseSmall WASM builds with safety checks disabled the same index becomes a silent out-of-bounds stack read/write with an attacker-influenced offset, which is a memory-safety violation rather than a crash. The trigger is reached directly from pozeiden.render(), the embedder-facing path, and the upstream fix replaces the fixed arrays with heap allocations sized to the actual row or depth count.

Know when Pozeiden 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

Vendor (GitHub_M) PRIMARY 8.8 HIGH
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
vuln.today AI 8.6 HIGH

Untrusted diagram reaches render() with no auth or interaction (AV:N/AC:L/PR:N/UI:N); guaranteed DoS gives A:H, while C:L/I:L reflect OOB read/write limited to unsafe WASM builds.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 20, 2026 - 20:18 EUVD
CVE Published
Nov 20, 2026 - 18:11 cve.org
HIGH 8.8

DescriptionCVE.org

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.

Technical POC Analysis

CWE-125 (out-of-bounds read) as assigned to CVE-2026-77347; the advisory's confirmed behaviour is an out-of-bounds read and an out-of-bounds write, so the CWE label understates the defect in unsafe b…

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-77347 is a high-severity out-of-bounds write vulnerability in Pozeiden (0.2.0 and earlier) that can cause process crashes or memory corruption when rendering malicious MermaidJS diagrams via the public API. Any service exposing diagram rendering to untrusted input is affected without authentication, potentially leading to denial of service or arbitrary code execution in certain builds.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patched, restrict exposure by isolating the renderer in a sandboxed environment, enforcing strict input validation on MermaidJS diagrams, and limiting network access to the rendering service. Monitor for process crashes or anomalous behavior that could indicate exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.6%
Top 48% exploitable
Prevalence
Rare
niche open-source Zig MermaidJS renderer, no meaningful enterprise footprint
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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.6%
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
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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