Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious JavaScript to embedded engine
-
DeliveryParse chained tagged template expressions
-
ExploitUnder-sized code-cache buffer allocated
-
ExecutionOut-of-bounds write corrupts adjacent memory
-
ImpactLimited 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
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.
Primary rating from Vendor (samsung.tv_appliance).
CVSS VectorVendor: samsung.tv_appliance
DescriptionCVE.org
Out-of-bounds write vulnerability in Samsung Open Source escargot allows Buffer Manipulation.
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
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
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-111820
GHSA-cp5g-w9xj-5386
NVD
CVE.org
EPSS
Exploit-DB