Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local or app-level execution on Escargot host
-
DeliverySubmit race-triggering JavaScript payload
-
ExploitWin timing window between security check and resource use
-
ExecutionBypass validation on shared resource
-
PersistRead or modify restricted engine memory
-
ImpactAchieve partial information disclosure or integrity impact
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires local execution context on a system running the vulnerable Escargot JavaScript engine - either direct local access or the ability to supply JavaScript for the engine to evaluate (e.g., via a sideloaded or compromised TV application). The CVSS vector specifies AV:L (local attack vector), meaning remote unauthenticated exploitation over a network is not applicable. The race condition requires the attacker to control timing and trigger concurrent access to the vulnerable shared resource; this is an inherent complexity barrier even though the vector lists AC:L. Exploitation is limited to the impact scope of the engine process (C:L/I:L/A:L, S:U) and does not affect other system components or cross a security boundary. No special non-default configuration is cited - the flaw is present in the engine's default execution path - but the local-only vector and timing requirement are meaningful limiting factors. |
| Impact | The NVD-assigned CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L) yields a Medium score of 5.9. However, the AC:L assignment is inconsistent with TOCTOU mechanics, which inherently require timing precision to win the race window - AC:H is more appropriate, and the score should be treated accordingly (reducing real-world exploitability). PR:N is plausible if exploitation occurs via crafted JavaScript input without requiring OS-level privileges, consistent with the embedded TV appliance context where untrusted app code may run in the engine. KEV status is absent and no POC is publicly known, placing this in the 'no public exploit identified at time of analysis' category. The limited C:L/I:L/A:L impact triad and local attack vector significantly constrain blast radius. Real-world prioritization should be low unless Escargot is exposed to untrusted third-party JavaScript on affected Samsung devices, in which case the integrity and information disclosure risks become more relevant. The AC:L versus the TOCTOU nature is a notable inconsistency - defenders should verify with Samsung whether reliable exploitation has been demonstrated. |
| Exploit ScenarioDerived | A local attacker or a malicious application running on a Samsung TV appliance submits crafted JavaScript designed to repeatedly trigger the vulnerable code path and win the timing window between the security check and resource use. By racing the check-use sequence - for example, swapping an object or memory reference after validation but before consumption - the attacker achieves a limited read of protected data or corrupts engine state. No public proof-of-concept exists at time of analysis, and winning the race reliably is non-trivial, reducing the practical threat. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 30, 2026
Time-of-check time-of-use (TOCTOU) race condition in Samsung's open-source Escargot JavaScript engine exposes systems - notably Samsung TV appliances - to local exploitation resulting in limited confidentiality, integrity, and availability impact. The flaw exists at a specific upstream commit (bab3a5797557014ce3c2e28419a6310cfba90d0d) and allows an attacker who can execute code in the same environment to exploit a timing window between a security check and the subsequent use of a resource. No active exploitation has been identified at time of analysis, but a fix commit is available upstream.
RemediationAI
Upstream fix available via GitHub commit 9e8084ecc2f68e8584d389414c3f37fda12dab7d at https://github.com/Samsung/escargot/commit/9e8084ecc2f68e8584d389414c3f37fda12dab7d; a released tagged version incorporating this fix has not been independently confirmed from available data. Integrators and downstream consumers (including Samsung TV firmware teams) should update Escargot to a build that includes this commit. As a compensating control where patching is not immediately feasible, restrict the execution of untrusted or third-party JavaScript within the Escargot runtime environment - note that this may disable app functionality on smart TV platforms. Monitor Samsung's security advisories for an official firmware update that bundles the patched engine. No vendor advisory URL beyond the GitHub commit was present in the available data.
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 is Samsung's open-source lightweight JavaScript engine (cpe:2.3:a:samsung_open_source:escargot:*:*:*:*:*:*:*:*), designed for resource-constrained embedded environments such as Samsung smart TV appliances. The root cause is CWE-367 (TOCTOU Race Condition): the engine performs a security-relevant check on a shared resource and then acts on that resource without holding an exclusive lock, leaving a window during which another thread or execution context can alter the resource's state. This class of vulnerability is inherent to concurrent or event-driven runtimes where state is mutated between validation and consumption. The affected revision is pinned to commit bab3a5797557014ce3c2e28419a6310cfba90d0d; the CPE wildcard on version indicates all prior versions through that commit are potentially affected.
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:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
TOCTOU inherently requires winning a timing race, warranting AC:H; AV:L and PR:N retained as exploitation occurs via local JS execution without OS privileges.
Primary rating from Vendor (samsung.tv_appliance).
CVSS VectorVendor: samsung.tv_appliance
DescriptionCVE.org
Time-of-check time-of-use (TOCTOU) race condition vulnerability in Samsung Open Source Escargot allows Leveraging Race Conditions.
This issue affects Escargot: bab3a5797557014ce3c2e28419a6310cfba90d0d.
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
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 write in Samsung's Escargot JavaScript engine allows attacker-supplied scripts to corrupt memory through t
Integer overflow in Samsung Escargot JavaScript engine allows remote attackers to trigger buffer overflows without authe
NULL pointer dereference in Samsung's open-source Walrus WebAssembly runtime crashes the parser when processing malforme
NULL pointer dereference in Samsung Open Source Walrus's WebAssembly binary parser causes application-level denial of se
Uncontrolled recursion in Samsung's Escargot JavaScript engine triggers excessive heap allocation, causing a denial-of-s
Denial of service in Samsung Escargot JavaScript engine at commit 590345cc6258317c5da850d846ce6baaf2afc2d3 stems from mu
EUVD-2026-40248
GHSA-jpx9-q676-jrjx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB