Skip to main content

Samsung Escargot CVE-2026-47313

| EUVDEUVD-2026-30845 HIGH
Memory Allocation with Excessive Size Value (CWE-789)
2026-05-19 samsung.tv_appliance GHSA-mpg3-32g2-7qf5
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Craft JS payload with resize-on-coercion TypedArray.copyWithin
  2. Delivery
    Deliver via sideloaded app or crafted web content
  3. Exploit
    Local user executes payload in Escargot context
  4. Install
    Buffer resized mid-coercion alters array length
  5. C2
    len - startIndex underflows to negative float
  6. Execute
    Cast to size_t produces massive allocation request
  7. Impact
    OOM abort crashes process (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires local access to a system running Escargot and the ability to supply attacker-controlled JavaScript for execution by the engine - specifically, a call to TypedArray.prototype.copyWithin where one or more index arguments have a custom valueOf or toString method that resizes the underlying ArrayBuffer during coercion, causing the post-coercion length calculations in the copyWithin implementation to underflow. The CVSS vector (AV:L/UI:R) confirms this is a local attack requiring user interaction - a fully remote unauthenticated attacker cannot trigger this without a delivery mechanism (e.g., a malicious app or web page). The PR:N component indicates no operating-system-level privileges are needed by the attacker, but the UI:R constraint means a local user must take an action such as opening a crafted file or launching a malicious application. Exploitation is limited to JavaScript execution environments backed by unpatched Escargot builds at commit 590345cc; deployments where untrusted JavaScript execution is disabled or restricted are not exposed. Standard JavaScript code that does not use typed array resize-during-coercion patterns (resizable ArrayBuffer or side-effecting valueOf on index arguments) is unaffected.

Impact

The CVSS 3.1 base score of 5.5 (Medium) is derived from a local attack vector (AV:L), low complexity (AC:L), no privilege requirement (PR:N), user interaction required (UI:R), unchanged scope (S:U), and high availability impact (A:H) with no confidentiality or integrity impact. The local attack vector means this is not directly reachable from a remote network without an additional delivery step. User interaction required further constrains exploitation to scenarios where a local user opens or executes attacker-controlled JavaScript content. EPSS data was not available in provided intelligence, limiting probabilistic exploitation probability assessment. No CISA KEV listing was identified, and no standalone proof-of-concept code was found beyond the fix diff in PR #1565, which itself provides sufficient implementation detail for a researcher to reproduce the condition. The 'Information Disclosure' tag in the source intelligence conflicts directly with the CVSS confidentiality impact of C:N - this tagging appears erroneous; the actual impact observed in the code changes and CVSS vector is purely availability (process abort). This conflict should be verified with the reporter (samsung.tv_appliance). The OOM abort handler added in the fix confirms the engine previously had undefined behavior on excessive allocation, which could theoretically widen impact, but based on confirmed CVSS data the impact is denial of service. Real-world priority is low-to-medium: exploitation in Samsung appliance/TV contexts would require delivering malicious JavaScript via a sideloaded app or compromised web content, precluding mass automated exploitation.

Exploit ScenarioDerived

An attacker crafts a JavaScript file containing a TypedArray.prototype.copyWithin call where the index arguments' valueOf methods trigger an ArrayBuffer resize mid-coercion, causing the engine's internal length calculations to go negative and wrap to a massive size_t value when cast. A local user on a Samsung smart TV or appliance executes this payload - for example, by launching a sideloaded application or visiting a crafted web page rendered by an Escargot-powered browser - causing the Escargot process to request an out-of-memory allocation, triggering the OOM abort handler and crashing the application or scripting runtime. No standalone public proof-of-concept was identified at the time of analysis, but the PR diff discloses sufficient implementation detail to reconstruct the triggering condition.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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

Excessive memory allocation in Samsung's Escargot JavaScript engine (commit 590345cc) triggers a denial-of-service condition via integer underflow in the TypedArray.prototype.copyWithin implementation, causing the engine to request a massive heap allocation and subsequently abort the process. Affected deployments include Samsung TV and appliance firmware that embeds Escargot as a scripting runtime. No public exploit code and no CISA KEV listing are present; EPSS data was not provided in available intelligence. Risk is bounded by the local attack vector and user interaction requirement in the CVSS vector.

RemediationAI

Upstream fix is available via GitHub pull request #1565 at https://github.com/Samsung/escargot/pull/1565; a released tagged version incorporating this fix is not independently confirmed from available data, so downstream consumers must monitor the Samsung Escargot repository for an official release. Organizations embedding Escargot directly should apply the PR diff - specifically the count clamping fix in src/builtins/BuiltinTypedArray.cpp (adding std::max(0.0, ...) around the min expression) and the OOM abort handler in src/heap/Heap.cpp. As a compensating control, restricting the installation or execution of untrusted third-party applications on Samsung smart TV and appliance platforms reduces exposure, though this limits legitimate app ecosystem functionality. Restricting access to Escargot-powered scripting interfaces in embedded deployments (e.g., disabling developer mode or sideloading capabilities) is a more targeted mitigation with lower functional impact. Enabling ASAN builds in QA/testing pipelines is now facilitated by the ASAN detection macros added in src/Escargot.h in the same PR, which can surface similar memory issues before production release.

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 Samsung's open-source C++ JavaScript engine (CPE: cpe:2.3:a:samsung_open_source:escargot:*:*:*:*:*:*:*:*) designed for embedded and IoT platforms including Samsung smart TVs and appliances. The root cause class is CWE-789 (Memory Allocation with Excessive Size Value). The vulnerable code path is in src/builtins/BuiltinTypedArray.cpp within builtinTypedArrayCopyWithin: when TypedArray.prototype.copyWithin coerces its index arguments, a JavaScript-level side effect (such as a valueOf or toString override) can resize the underlying ArrayBuffer during coercion. After the resize, the stored array length (len) is stale, causing expressions like len - startIndex or len - targetIndex to produce negative floating-point results. These negative values are then passed to std::min and ultimately cast to size_t (an unsigned integer type), wrapping to an astronomically large value. The resulting allocation request exhausts memory. The GitHub PR #1565 diff also reveals secondary fixes: a null-pointer dereference in EscargotPublic.cpp for nested eval-throw-finally edge cases, missing fast-mode array checks in ByteCodeInterpreter.cpp after setArrayLength, coercion ordering and re-coercion prevention in DataViewObject.h, and the addition of an OOM abort handler in Heap.cpp via GC_set_oom_fn - confirming that prior to this patch, out-of-memory conditions yielded undefined behavior rather than a clean abort.

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 7.5 HIGH
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

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

Lifecycle Timeline

2
Severity Changed
Jul 24, 2026 - 12:22 NVD
MEDIUM HIGH
CVSS changed
Jul 24, 2026 - 12:22 NVD
5.5 (MEDIUM) 7.5 (HIGH)

DescriptionNVD

Memory allocation with excessive size value vulnerability in Samsung Open Source Escargot allows Excessive Allocation.

This issue affects Escargot: 590345cc6258317c5da850d846ce6baaf2afc2d3.

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

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

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-25208 CRITICAL
9.8 Apr 13

Memory corruption in Samsung Open Source Escargot's code-cache and value-deserialization handling can allow unauthentica

CVE-2026-25207 CRITICAL
9.8 Apr 13

Out-of-bounds write in Samsung Open Source Escargot JavaScript engine allows local attackers to execute arbitrary code o

CVE-2026-25205 CRITICAL
9.8 Apr 13

Heap-based buffer overflow in Samsung Open Source Escargot JavaScript engine enables out-of-bounds memory writes with hi

CVE-2026-40446 CRITICAL
9.8 Apr 13

Type confusion vulnerability in Samsung Open Source Escargot JavaScript engine allows local attackers with user interact

CVE-2026-47314 CRITICAL
9.8 May 19

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

CVE-2026-47311 CRITICAL
9.8 May 19

Heap-based buffer overflow in Samsung's Escargot JavaScript engine (commit 590345cc6258317c5da850d846ce6baaf2afc2d3) all

CVE-2026-47310 CRITICAL
9.8 May 19

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

CVE-2026-25209 CRITICAL
9.1 Apr 13

Out-of-bounds read in Samsung Open Source Escargot JavaScript engine exposes sensitive memory content to remote attacker

CVE-2026-25206 CRITICAL
9.1 Apr 13

Out-of-bounds read in Samsung Open Source Escargot JavaScript engine allows local attackers to leak sensitive memory con

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