---
id: CVE-2026-103087
title: >-
  Uncontrolled recursion in the Gosub browser engine (gosub-engine) through
  0.1.0 and main before commit 46868b3 allows a remote attacker to cause a
  Denial of Service (stack exhaustion and application crash) via an SVG document
  containing …
summary: >-
  Uncontrolled recursion in the Gosub browser engine (gosub-engine) through
  0.1.0 and main before commit 46868b3 allows a remote attacker to cause a
  Denial of Service (stack exhaustion and application crash) via an SVG document
  containing …
severity: high
cvss: 7.1
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-674
vendor: gosub-io
product: gosub-engine
affected:
  - gosub-engine < 46868b3deae44544bee2a13e756772966dde950e
published: '2026-09-30'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T00:35:06.196Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-103087'
references:
  - url: >-
      https://github.com/gosub-io/gosub-engine/security/advisories/GHSA-c762-mxfh-vwvp
  - url: 'https://github.com/gosub-io/gosub-engine/pull/1229'
tags:
  - cve.org
ingestedAt: '2026-09-30T01:54:42.732Z'
---

## Overview

Uncontrolled recursion in the Gosub browser engine (gosub-engine) through 0.1.0 and main before commit 46868b3 allows a remote attacker to cause a Denial of Service (stack exhaustion and application crash) via an SVG document containing an excessive number of deeply nested elements. Because the engine does not limit the nesting depth of processed SVG nodes, rendering such a document overflows the thread stack and terminates the application. The malicious SVG can be embedded through the SRC attribute of an IMG element, and thus exploitation only requires the victim to visit an attacker-controlled web page.

## Affected

- `gosub-engine < 46868b3deae44544bee2a13e756772966dde950e`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
