Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted JavaScript payload to target device
-
DeliveryUser opens malicious app or content
-
ExploitEscargot engine parses and executes JavaScript
-
ExecutionRecursive calls or TypedArray operations trigger uncontrolled allocation
-
PersistHeap exhausted, GC OOM condition reached
-
ImpactEngine process aborts, causing denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires local access to a system running the affected Escargot commit - the CVSS AV:L vector confirms this is not remotely triggerable over a network without prior local access or delivery. User interaction is required (UI:R), meaning a user must open or execute content (e.g., a crafted app, webpage, or media file) that causes Escargot to parse and execute the malicious JavaScript. No authentication is required (PR:N) beyond whatever ambient access the delivery mechanism requires. Exploitation is limited to denial-of-service (availability impact only per C:N/I:N); confidentiality and integrity are unaffected per CVSS, notwithstanding the contradictory 'Information Disclosure' tag in source metadata which has not been confirmed. The vulnerability is specific to the Escargot engine build at the named commit - systems running a patched build incorporating PR #1565 changes are not affected. |
| Impact | The CVSS 5.5 Medium score reflects a local attack vector (AV:L), low complexity (AC:L), no privileges required (PR:N), and user interaction required (UI:R), with impact limited to availability (A:H, C:N, I:N). Real-world risk is constrained by the local attack vector - an attacker cannot reach Escargot directly over a network; they must deliver a malicious JavaScript payload that a local process or embedded application executes. In the context of Samsung TV firmware, this translates to a user opening a crafted app, page, or media file on the device. There is no CISA KEV listing and no public exploit code identified at time of analysis, making opportunistic mass exploitation unlikely. The ENISA EUVD entry (EUVD-2026-30850) corroborates the vulnerability but adds no exploitation signals. Importantly, the vulnerability tags include 'Information Disclosure,' which contradicts the CVSS C:N (no confidentiality impact) - this discrepancy should be verified with Samsung, as the tag may be erroneous or reflect a secondary behavior not captured in the CVSS scoring. Overall, real-world risk priority is moderate: meaningful on embedded Samsung platforms where user-controlled JS runs in a privileged context, but limited elsewhere. |
| Exploit ScenarioDerived | An attacker crafts a malicious JavaScript file or application containing deeply nested recursive function calls or TypedArray operations designed to trigger uncontrolled heap allocation in Escargot. A user on a Samsung smart TV opens or installs the malicious application or content, causing the Escargot engine to consume available memory until the process aborts, rendering the JavaScript runtime and dependent TV functionality unavailable. No public proof-of-concept exploit exists at time of analysis, but the fix PR provides sufficient technical detail to reconstruct triggerable cases. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 19, 2026
Uncontrolled recursion in Samsung's Escargot JavaScript engine triggers excessive heap allocation, causing a denial-of-service condition with high availability impact. The vulnerability affects the specific commit 590345cc6258317c5da850d846ce6baaf2afc2d3 of the Escargot engine, which is deployed in Samsung smart TV and appliance firmware. No public exploit code exists and no active exploitation is confirmed by CISA KEV; however, the fix PR reveals multiple heap exhaustion and integer underflow scenarios addressable through crafted JavaScript inputs.
RemediationAI
The upstream fix is available in Samsung's GitHub repository as pull request #1565 (https://github.com/Samsung/escargot/pull/1565). This PR delivers several correlated fixes: an OOM abort handler to halt allocation runaway, a non-negative clamp on TypedArray.copyWithin count, a null guard for error values in nested eval/throw/finally paths, and a fast-to-non-fast array mode slow-path. Upstream fix available (PR/commit); a released patched version or firmware build number has not been independently confirmed from available data - monitor Samsung's open-source security advisories for a tagged Escargot release incorporating these changes. For Samsung TV or appliance deployments, apply firmware updates as released by Samsung. As a compensating control where firmware updates are not yet available, restrict untrusted or third-party application installation on affected Samsung devices to prevent delivery of crafted JavaScript. Disabling features that allow sideloaded or web-based JavaScript execution reduces attack surface but may impact device functionality.
Affected VersionsENISA
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 (CPE: cpe:2.3:a:samsung_open_source:escargot:*:*:*:*:*:*:*:*) is Samsung's open-source JavaScript engine, primarily embedded in Samsung Smart TV and appliance firmware rather than desktop browsers. The root cause is CWE-674 (Uncontrolled Recursion), where recursive JavaScript execution paths are not sufficiently bounded, leading to uncontrolled heap growth. The fix PR #1565 reveals several contributing code paths: the garbage collector lacked an OOM abort handler (fixed by adding GC_set_oom_fn with abort()), TypedArray.copyWithin suffered integer underflow when buffer resize during argument coercion produced negative values cast to size_t (count now clamped to non-negative with std::max(0.0, ...)), nested eval/throw/finally blocks could dereference an invalid or null error value, and arrays transitioning from fast-mode to non-fast-mode during spread operations lacked a slow-path fallback. The combination of these defects means specially crafted recursive or deeply nested JavaScript can exhaust allocator capacity.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Uncontrolled Recursion vulnerability in Samsung Open Source Escargot allows Excessive Allocation.
This issue affects Escargot: 590345cc6258317c5da850d846ce6baaf2afc2d3.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Samsung Open Source
View allHeap buffer overflow in Samsung's rlottie animation rendering library allows remote denial-of-service via maliciously cr
Uncontrolled resource consumption in Samsung's open-source rlottie library allows a crafted Lottie animation file to tri
OS command injection in the Samsung QA-Board backend allows unauthenticated remote attackers to execute arbitrary operat
Memory corruption in Samsung Open Source Escargot's code-cache and value-deserialization handling can allow unauthentica
Out-of-bounds write in Samsung Open Source Escargot JavaScript engine allows local attackers to execute arbitrary code o
Heap-based buffer overflow in Samsung Open Source Escargot JavaScript engine enables out-of-bounds memory writes with hi
Type confusion vulnerability in Samsung Open Source Escargot JavaScript engine allows local attackers with user interact
Out-of-bounds write in Samsung's Escargot lightweight JavaScript engine (commit 590345cc6258317c5da850d846ce6baaf2afc2d3
Heap-based buffer overflow in Samsung's Escargot JavaScript engine (commit 590345cc6258317c5da850d846ce6baaf2afc2d3) all
Use-after-free memory corruption in Samsung's Escargot JavaScript engine (commit 590345cc6258317c5da850d846ce6baaf2afc2d
Out-of-bounds read in Samsung Open Source Escargot JavaScript engine exposes sensitive memory content to remote attacker
Out-of-bounds read in Samsung Open Source Escargot JavaScript engine allows local attackers to leak sensitive memory con
EUVD-2026-30850
GHSA-rmj6-ch86-hm24
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB