Skip to main content

Samsung Escargot CVE-2026-47311

| EUVDEUVD-2026-30837 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-05-19 samsung.tv_appliance GHSA-g7q7-7hc8-vc6w
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Deliver malicious JS via webview or app
  2. Delivery
    Victim opens content (UI:R)
  3. Exploit
    Trigger TypedArray.copyWithin underflow or spread fast-mode downgrade
  4. Execution
    Heap buffer overflow corrupts adjacent objects
  5. Persist
    Pivot to type confusion / arbitrary R-W
  6. Impact
    Execute code in engine process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires the victim to execute attacker-controlled JavaScript inside an Escargot-backed runtime (UI:R in the CVSS vector), with no authentication to the engine itself (PR:N) and local attack vector (AV:L) meaning the JS must reach the engine on the device - typically via a malicious web page rendered in an Escargot-powered web view, a sideloaded or malicious app on a Tizen/IoT device, or attacker-supplied script content in any product that embeds Escargot as its JS interpreter. Specific code paths require either a TypedArray.copyWithin call whose argument coercion resizes the underlying buffer such that len - startIndex or len - targetIndex becomes negative, or array-spread expressions that cause setArrayLength to push the array beyond fast-mode thresholds mid-operation, or a nested eval throw combined with a finally-block allocation that invalidates the error value. Limiting factors: the engine must actually execute untrusted JS (devices that only run signed first-party scripts are not exposed), the targeted build must predate the PR #1565 merge, and the user must take an action that loads the malicious content.

Impact

Real-world risk is moderate-to-high in embedded contexts but constrained by the attack surface. CVSS 7.8 with AV:L/AC:L/PR:N/UI:R indicates local vector with user interaction - for a JavaScript engine this typically maps to 'victim runs attacker-supplied JS,' which on smart TVs, wearables, or IoT apps may still be reachable via a web view, sideloaded app, or malicious content. SSVC signals are not provided, but technical impact is total (C:H/I:H/A:H), and the corruption classes shown in the patch (integer underflow into size_t, fast-mode invariant violation) are historically reliable primitives for type confusion and arbitrary read/write in JS engines. Exploitation status: no public exploit identified at time of analysis; not in CISA KEV; EPSS not provided. The CVSS vector marks AV:L while the description simply says 'allows Overflow Buffers' - defenders embedding Escargot in network-reachable scriptable surfaces should treat the practical reachability as potentially higher than AV:L implies and verify with vendor; conversely, devices that never execute untrusted JS face minimal exposure.

Exploit ScenarioDerived

An attacker hosts a malicious web page or crafts a malicious application bundle containing JavaScript that calls TypedArray.copyWithin with arguments that trigger a buffer resize during coercion (forcing len - startIndex to go negative), or that uses array spread to provoke a fast-mode downgrade mid-operation; when a victim opens the page in an Escargot-backed web view on a smart TV or IoT device, the engine writes past the heap allocation and corrupts adjacent objects. No public exploit identified at time of analysis, but the patch diff alone provides a clear roadmap for a competent JS-engine exploit developer to weaponize the primitives toward arbitrary code execution within the engine's process.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 19, 2026

Heap-based buffer overflow in Samsung's Escargot JavaScript engine (commit 590345cc6258317c5da850d846ce6baaf2afc2d3) allows remote attackers to corrupt heap memory and likely achieve arbitrary code execution when a victim processes attacker-controlled JavaScript. No public exploit identified at time of analysis, but the upstream fix (PR #1565) reveals multiple memory-safety hardening changes including integer underflow protection in TypedArray.copyWithin, fast-mode array conversion checks during spread operations, and OOM handling, indicating concrete reachable corruption paths. CVSS 7.8 with local attack vector and required user interaction reflects the engine's typical embedding context (apps, IoT, smart TV runtimes) rather than network-facing services.

RemediationAI

Upstream fix available (PR https://github.com/Samsung/escargot/pull/1565); a released patched version is not independently confirmed from the provided data, so consumers should rebuild from a commit at or after the merge of PR #1565 and re-vendor the engine into downstream products. Where rebuilding is not immediately feasible, compensating controls depend on how Escargot is embedded: restrict the engine to executing only signed or first-party JavaScript (eliminates the user-interaction trigger), disable or sandbox web-view/JS-runtime features in affected apps and TV channels, and where the engine is exposed via a debugger interface ensure ESCARGOT_DEBUGGER builds are not shipped to production (the patch also gates a debug-only assertion path on this define). On Samsung Tizen-based devices, apply firmware updates from the device vendor as soon as a patched build is published, and monitor https://github.com/Samsung/escargot for tagged releases incorporating the fix.

Affected VersionsENISA

Escargot 590345cc6258317c5da850d846ce6baaf2afc2d3

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Escargot is a lightweight ECMAScript-compliant JavaScript engine developed by Samsung primarily for resource-constrained environments such as smart TVs, wearables, and IoT devices (CPE: cpe:2.3:a:samsung_open_source:escargot). CWE-122 (heap-based buffer overflow) here arises from multiple distinct flaws in the engine's runtime: an integer underflow in builtinTypedArrayCopyWithin where len - startIndex/len - targetIndex can become negative after buffer resize during argument coercion, then wraps when cast to size_t; an assumption-violation in arrayDefineOwnPropertyBySpreadElementOperation where setArrayLength can silently downgrade an array from fast-mode while subsequent code still touches m_fastModeData directly; and unchecked dereference of an invalid error value in Evaluator::EvaluatorResult::resultOrErrorToString during nested eval throw with finally allocation. The fix also adds ASAN macro plumbing and a GC out-of-memory handler, suggesting the affected paths were discovered through sanitizer-instrumented fuzzing.

Know when Samsung Open Source 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

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Severity Changed
Jul 24, 2026 - 12:22 NVD
HIGH CRITICAL
CVSS changed
Jul 24, 2026 - 12:22 NVD
7.8 (HIGH) 9.8 (CRITICAL)

DescriptionNVD

Heap-based buffer overflow vulnerability in Samsung Open Source Escargot allows Overflow Buffers.

This issue affects Escargot: 590345cc6258317c5da850d846ce6baaf2afc2d3.

Executive ViewAI

Why It Matters

Samsung's Escargot JavaScript engine, widely deployed in smart televisions, IoT devices, and industrial controllers, contains a heap overflow vulnerability enabling code execution when users process untrusted JavaScript files. Organizations using this engine face immediate risk of device compromise and potential unauthorized network access. No public exploit identified at time of analysis, though the underlying vulnerability is understood.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: Restrict JavaScript content sources to organization-controlled, cryptographically signed code only; implement application sandboxing or process-level isolation for JavaScript execution; disable Escargot if operationally feasible; establish monitoring for memory corruption indicators and unauthorized process spawning.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
No
Human Impact
High
Technical Impact
Total

Priority Score

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

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

CVE-2026-19588 MEDIUM
6.5 Aug 12

Heap buffer overflow in Samsung's rlottie animation rendering library allows remote denial-of-service via maliciously cr

CVE-2026-19587 MEDIUM
6.5 Aug 12

Uncontrolled resource consumption in Samsung's open-source rlottie library allows a crafted Lottie animation file to tri

CVE-2026-110392 CRITICAL
9.8 Oct 14

OS command injection in the Samsung QA-Board backend allows unauthenticated remote attackers to execute arbitrary operat

CVE-2026-47314 CRITICAL
9.8 May 19

Out-of-bounds write in Samsung's Escargot lightweight JavaScript engine (commit 590345cc6258317c5da850d846ce6baaf2afc2d3

CVE-2026-47310 CRITICAL
9.8 May 19

Use-after-free memory corruption in Samsung's Escargot JavaScript engine (commit 590345cc6258317c5da850d846ce6baaf2afc2d

CVE-2026-8915 HIGH
8.8 May 28

Out-of-bounds write in Samsung's Escargot JavaScript engine allows attacker-supplied scripts to corrupt memory through t

CVE-2026-25208 HIGH
8.1 Apr 13

Integer overflow in Samsung Escargot JavaScript engine allows remote attackers to trigger buffer overflows without authe

CVE-2026-47308 HIGH
7.5 May 19

NULL pointer dereference in Samsung's open-source Walrus WebAssembly runtime crashes the parser when processing malforme

CVE-2026-47307 HIGH
7.5 May 19

NULL pointer dereference in Samsung Open Source Walrus's WebAssembly binary parser causes application-level denial of se

CVE-2026-47317 HIGH
7.5 May 19

Uncontrolled recursion in Samsung's Escargot JavaScript engine triggers excessive heap allocation, causing a denial-of-s

CVE-2026-47316 HIGH
7.5 May 19

Denial of service in Samsung Escargot JavaScript engine at commit 590345cc6258317c5da850d846ce6baaf2afc2d3 stems from mu

CVE-2026-47315 HIGH
7.5 May 19

Denial-of-service in Samsung's Escargot JavaScript engine (commit 590345cc) stems from multiple unhandled exceptional co

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