Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun code in Non-Secure world
-
DeliveryInvoke HOTP TA register_shared_key
-
ExploitPass oversized shared-key memref
-
ExecutionOverflow fixed buffer K via memcpy
-
ImpactCorrupt secure-world memory, crash or integrity loss
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to execute code in the Non-Secure world (the normal/REE side) of a device running mTower that includes the HOTP example Trusted Application, and to invoke its register_shared_key command with a crafted TEE_Param memref whose size field exceeds sizeof(K). The specific trigger is the unbounded use of the Non-Secure-controlled memref.size as the memcpy length into K. Limiting factors: this is local only (AV:L) and demands existing Non-Secure-world code execution plus the ability to call into the secure-world TA (PR:L); devices that do not deploy the vulnerable HOTP TA are not exposed. The complete fix is the bounds check added in PR #254; the evidence describes no configuration-based mitigation. |
| Impact | The input CVSS is 7.1 with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - local attack vector, low complexity, low privileges, no user interaction, and high integrity/availability impact with no confidentiality impact. The mechanism is confirmed by the vendor fix (Samsung/mTower PR #254): in register_shared_key() the Non-Secure-world-supplied memref size (params[0].memref.size) was used as a memcpy length into the fixed secure-world buffer K without any upper bound, so a Non-Secure caller can overflow K. No EPSS score, no CISA KEV entry, and no SSVC exploitation/automatable/technical-impact values are present in the input, so those signals cannot be weighed - the only decision signal is the vuln.today 'this_week' priority label. Exploitation status: no public exploit identified at time of analysis - the single reference is the fix PR itself, not exploit code. On balance this is a genuine secure-world memory-corruption flaw but a bounded-priority one: it requires local code execution in the Non-Secure world of a device that actually ships the HOTP example Trusted Application, which constrains real-world reach well below what the 7.1 score alone suggests. Note C:N is used despite a secure-world overflow; a successful overwrite of secure-world memory could plausibly have broader impact, but the supplied evidence only establishes an unchecked write, so no confidentiality claim is asserted. |
| Exploit ScenarioDerived | A malicious or compromised Non-Secure-world application invokes the HOTP trusted application's register_shared_key command, passing a shared-key memref whose attacker-controlled size exceeds sizeof(K). The unbounded size is used as a memcpy length, overflowing the fixed secure-world buffer and corrupting Trusted Application memory, leading to a crash or integrity compromise of the secure world. No public exploit code exists; the referenced GitHub PR #254 is the vendor fix, not a PoC. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Local memory corruption in the HOTP Trusted Application shipped with Samsung's open-source mTower TEE allows code already running on the Non-Secure (REE) side to overflow the fixed-size secure-world buffer K by passing a TEE_Param memref whose size field exceeds sizeof(K), because that attacker-controlled size is used directly as the memcpy length when registering a shared HMAC key. The assessed impact is high integrity and availability damage inside the trusted execution environment with no confidentiality impact (CVSS 3.1: 7.1, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H); only builds that include and deploy the HOTP example TA are exposed. No public exploit code and no confirmed active exploitation were identified at the time of analysis - the only public reference is upstream fix PR #254, which adds the missing size bounds check.
RemediationAI
Apply the upstream fix in Samsung mTower PR #254 (https://github.com/Samsung/mTower/pull/254), which introduces the required bounds check on params[0].memref.size before the copy into K, rejecting lengths below MIN_KEY_SIZE or above sizeof(K) with TEE_ERROR_BAD_PARAMETERS. Note that this is an upstream pull-request/commit-level fix: a tagged mTower release containing it is not independently confirmed, so downstream integrators should verify that their vendor branch or firmware build actually carries the merged change rather than assuming a released version includes it. Where patching cannot be done immediately, the exposure is limited to devices that build and deploy the HOTP example Trusted Application; the available evidence describes no configuration-based mitigation for the flaw itself beyond not deploying that TA, and the bounds check in the fix is described as the complete remediation. Because exploitation requires the attacker to already execute code in the Non-Secure world and be able to invoke the TA command (local vector, low privileges), the practical priority is to fold this update into the next regular firmware maintenance cycle, consistent with the 'this_week' priority rating.
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
mTower is Samsung's open-source implementation of a TEE (trusted execution environment) built on the GlobalPlatform TEE specifications, splitting execution into a Normal/Non-Secure world and a Secure world that hosts Trusted Applications. The affected code is the HOTP example TA (apps/hotp/ta/hotp_ta.c), whose register_shared_key command receives a GlobalPlatform TEE_Param array. params[0] is a memref originating in the Non-Secure world, so both the buffer pointer and the size field are attacker-controlled; the secure-world boundary only validates that the source range resides in Non-Secure memory, not how many bytes will fit in the destination. The root cause is CWE-120 (buffer copy without checking size of input): the TA copied params[0].memref.size bytes into the fixed-size key buffer K without comparing that length against sizeof(K), letting a long memref overwrite adjacent secure-world memory. PR #254 rejects sizes outside MIN_KEY_SIZE..sizeof(K) (returning TEE_ERROR_BAD_PARAMETERS rather than truncating, since a silently shortened HMAC key would itself be a cryptographic defect) and also adds a NULL-buffer check. The same PR fixes a related diagnostic weakness: the old DMSG logged K with a "%s" format specifier, which reads past the end of the secret when the key is exactly sizeof(K) bytes, so the log line was changed to print only the key length. A missing error check on hmac_sha1 in get_hotp was also added. The trigger is confirmed by the source diff; no further mechanism detail (for example which adjacent field is reached first) is described in the available sources.
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:L/UI:N/S:U/C:N/I:H/A:H
A Non-Secure-world caller (PR:L) crosses to the secure world locally (AV:L) with a reliably triggerable unchecked memcpy (AC:L), corrupting secure-world memory for high integrity and availability impact; no evidence supports a confidentiality claim.
Primary rating from Vendor (samsung.tv_appliance).
CVSS VectorVendor: samsung.tv_appliance
DescriptionCVE.org
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in Samsung Open Source mTower allows Overflow Buffers.
Executive ViewAI
A local memory corruption vulnerability in Samsung's mTower TEE HOTP Trusted Application could allow an attacker with local access to the non-secure side to compromise the integrity and availability of the trusted execution environment. Only deployments that include and deploy the HOTP example TA are exposed, but affected organizations face potential disruption of secure operations and require immediate scrutiny of their TEE configurations. Leadership should care because the TEE underpins security-critical functions, and while no active exploitation is known, the lack of a vendor patch demands urgent mitigating action.
No vendor-released patch identified at time of analysis; interim mitigations include disabling or removing the HOTP example TA from production deployments, restricting local access to non-secure environments, and applying upstream fix PR #254 where feasible.
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.
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-126176
GHSA-xfmm-86vr-x3pj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB