Skip to main content

Samsung Escargot CVE-2026-118435

| EUVDEUVD-2026-111820 MEDIUM
Out-of-bounds Write (CWE-787)
2026-10-28 samsung.tv_appliance GHSA-cp5g-w9xj-5386
5.4
CVSS 3.1 · Vendor: samsung.tv_appliance
View

Attack ChainAIDerived

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

  1. Access
    Deliver malicious JavaScript to embedded engine
  2. Delivery
    Parse chained tagged template expressions
  3. Exploit
    Under-sized code-cache buffer allocated
  4. Execution
    Out-of-bounds write corrupts adjacent memory
  5. Impact
    Limited integrity/availability impact

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Per PR #1750, the out-of-bounds write occurs in escargot's code-cache writer (CodeCacheWriter::storeInterpretedCodeBlock / storeByteCodeBlock), where the serialization buffer was sized for 2*sizeof(bool) per entry instead of 3, so a flag array is written past the allocation; the accompanying TaggedTemplateExpressionNode change and new ChainedTaggedTemplates test indicate the condition is reached while handling chained tagged template literals. Concrete prerequisites: (1) an application embedding escargot with the code-cache feature enabled, since the vulnerable path is the cache serializer; and (2) the engine must parse/compile attacker-controlled JavaScript exercising chained tagged templates. Limiting factors: UI:R means a user or host application must actually run the script; impact is capped (C:N, I:L, A:L) at a bounded overwrite rather than demonstrated full control; and exposure is confined to deployments where escargot is embedded and code caching is active - a non-default-for-everyone configuration that must be verified per build.

Impact

This is a medium-severity issue (CVSS 5.4, CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L) that signals a real but bounded concern rather than an emergency. The vuln.today decision label is 'this_month', consistent with the moderate CVSS and the absence of urgent exploitation signals. No EPSS score was provided in the input, there is no CISA KEV listing, and no public exploit identified at time of analysis - the only reference is the vendor fix (Samsung escargot PR #1750), not a working exploit. The CVSS vector reports UI:R, meaning the engine must actually process attacker-influenced JavaScript, and the impact metrics (C:N, I:L, A:L) reflect a limited out-of-bounds write rather than demonstrated code execution; the source diff shows a one-element under-allocation (2→3 sizeof(bool)) in the code-cache serializer, which is consistent with a modest, not fully-controlled, overwrite. Real priority is therefore moderate and strongly conditioned on deployment: EPSS is not available to corroborate, impact is capped at low, and the affected component is an embedded JavaScript engine whose exposure depends entirely on where and how it is embedded. Note the code-cache writer is involved, so exploitation likely requires that optional feature to be enabled - verify against your build configuration.

Exploit ScenarioDerived

An application embedding Samsung's escargot engine with code caching enabled parses attacker-supplied JavaScript containing chained tagged template expressions; during serialization of the compiled block the code-cache buffer is under-allocated, producing an out-of-bounds write. No standalone proof-of-concept exists, only the vendor fix PR, and successful triggering requires the victim application to run the malicious script (UI:R).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 28, 2026

An out-of-bounds write exists in Samsung's open-source escargot JavaScript engine, where the code-cache serializer under-allocates its output buffer by one boolean-sized flag per entry, so a flag array is written past the end of the allocation during cache serialization. The condition is reached while the engine parses attacker-controlled JavaScript that uses chained tagged template literals, and per the assessed vector (CVSS 5.4, AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L) a user or host application must actually execute the script; impact is capped at a bounded overwrite with no confidentiality effect and low integrity/availability effect. Exposure is confined to applications that embed escargot with the code-cache feature active; no public exploit is identified at time of analysis, and the vulnerability is scheduled for this-month remediation priority. An upstream fix is present in pull request #1750, which corrects the buffer sizing and adds a regression test for chained tagged templates.

RemediationAI

Apply the upstream fix from pull request https://github.com/Samsung/escargot/pull/1750 (which corrects the flag sizing in CodeCacheWriter::storeInterpretedCodeBlock and storeByteCodeBlock and the shared-child traversal in TaggedTemplateExpressionNode); because no tagged release version is identified in the available data, confirm with the project or your downstream integrator which build first contains that merge before relying on a version number. Where an immediate rebuild is not possible, the most direct compensating control is to disable the code-cache feature in the embedding application, which removes the vulnerable serialization path entirely at the cost of slower script parse/startup performance; deployments should also avoid parsing untrusted JavaScript with code caching enabled while unpatched. Track vendor project advisories via the escargot repository for a tagged release announcement, since the patch currently exists as an upstream PR/commit rather than a confirmed released version.

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 ECMAScript (JavaScript) engine used as an embeddable runtime, and the flaw is a classic CWE-787 out-of-bounds write inside its code-cache layer. The cache serializer in src/codecache/CodeCacheReaderWriter.cpp reserves space with m_buffer.ensureSize(), and both CodeCacheWriter::storeInterpretedCodeBlock and CodeCacheWriter::storeByteCodeBlock computed that reservation using 2 * sizeof(bool) per serialized entry while the writer actually emits three boolean-sized flags, so the per-entry flag array grows beyond the sized region. The accompanying change to src/parser/ast/TaggedTemplateExpressionNode.h replaces separate iterateChildren / iterateChildrenIdentifier traversal of the tag expression and the template quasi with a single shared-child visitation, noting that the converted call already contains both the tag and all template substitutions and that shared children in chained tagged templates must be visited once. The new cctest ScriptParser.ChainedTaggedTemplates test builds a function whose tag returns itself and appends 128 chained x${calls} template literals, confirming that long chains of tagged templates are the parsing pattern that drives the affected serialization path. The exact triggering sequence beyond parsing/compiling such a script and writing it to the code cache is not described in the available sources; the assessed prerequisites are an embedding application with code caching enabled plus attacker-controlled JavaScript that exercises chained tagged templates.

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

Vendor (samsung.tv_appliance) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
vuln.today AI 5.4 MEDIUM

Attacker-supplied script runs in an embedding (UI:R) with code cache enabled; the bounded off-by-one overwrite yields limited integrity/availability and no disclosure, so I:L/A:L/C:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (samsung.tv_appliance).

CVSS VectorVendor: samsung.tv_appliance

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

DescriptionCVE.org

Out-of-bounds write vulnerability in Samsung Open Source escargot allows Buffer Manipulation.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche embedded JS engine for Samsung Tizen/IoT/appliance deployments
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Affected Products (CPE)CVE.org

cpe:2.3:a:samsung_open_source:escargot:*:*:*:*:*:*:*:*
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