Security Resilience

CVE-2026-0648

Memory Safety in Eclipse Threadx 6.1.7 – 6.4.5

Published
27 January 2026
Modified
02 April 2026
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0013 2th percentile
Risk Priority 52 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-0648 is a high-severity Incorrect Check of Function Return Value (CWE-253) vulnerability in Eclipse Threadx. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-0648 affects Eclipse ThreadX, specifically the CreateCounter() function in threadx/utility/rtos_compatibility_layers/OSEK/tx_osek.c within its OSEK compatibility layer. The vulnerability originates from flawed error-checking logic that inspects the return value of osek_get_counter(). The code treats a cntr_id of 0u as failure, but osek_get_counter() returns E_OS_SYS_STACK (12U) on failure, such as when the counter pool is exhausted. Consequently, the error-handling branch is bypassed, and the error code is cast to an OSEK_COUNTER pointer, yielding a wild pointer that enables writes to invalid memory addresses like 0x0000000C.

A local attacker with low privileges (PR:L) can exploit this under high attack complexity (AC:H), as indicated by the CVSS v3.1 score of 7.8 (AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H). By repeatedly invoking operations to deplete the counter pool, the attacker triggers HardFaults for denial-of-service or induces silent memory corruption through out-of-bounds writes. This aligns with CWE-253 (Incorrect Check of Function Return Value) and CWE-787 (Out-of-bounds Write), potentially granting unauthorized memory access with changed scope impact.

Mitigation guidance is available in the security advisory at https://github.com/eclipse-threadx/threadx/security/advisories/GHSA-xj75-fc68-h4rw, published on 2026-01-27.

EU & UK References

Vulnerability Data

The vulnerability stems from an incorrect error-checking logic in the CreateCounter() function (in threadx/utility/rtos_compatibility_layers/OSEK/tx_osek.c) when handling the return value of osek_get_counter(). Specifically, the current code checks if cntr_id equals 0u to determine failure, but @osek_get_counter() actually returns E_OS_SYS_STACK (defined as…

more

12U) when it fails. This mismatch causes the error branch to never execute even when the counter pool is exhausted. As a result, when the counter pool is depleted, the code proceeds to cast the error code (12U) to a pointer (OSEK_COUNTER *), creating a wild pointer. Subsequent writes to members of this pointer lead to writes to illegal memory addresses (e.g., 0x0000000C), which can trigger immediate HardFaults or silent memory corruption. This vulnerability poses significant risks, including potential denial-of-service attacks (via repeated calls to exhaust the counter pool) and unauthorized memory access.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-2212Same product: Eclipse Threadx
CVE-2023-48695Same vendor: Eclipse
CVE-2023-7272Same vendor: Eclipse
CVE-2025-1471Same vendor: Eclipse
CVE-2024-10525Same vendor: Eclipse
CVE-2023-48697Same vendor: Eclipse
CVE-2024-3933Same vendor: Eclipse
CVE-2024-13170Shared CWE-787
CVE-2024-30282Shared CWE-787
CVE-2024-23296Shared CWE-787

Affected Assets

eclipse
threadx
6.1.7 — 6.4.5

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and code analysis can discover missing or incorrect return-value checks.

Documented development standards and tools can mandate verified checking of every function return value.

Security engineering principles include requirements for robust error checking of all function returns.

Input validation can structurally reject or sanitize data that would otherwise trigger an out-of-bounds write.

Memory-protection mechanisms limit the exploitability and blast radius of a successful out-of-bounds write.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly enforce proper error-handling and return-value checking during development.

ID.RA-01 partial match
blocks

Vulnerability scanning and recording can discover out-of-bounds write flaws so they can be remediated.

PR.PS-02 partial match
blocks

Patching or replacing vulnerable software directly eliminates known instances of this coding weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches missing or incorrect return-value checks.

prevents

Training developers in secure coding practices reduces a minority of incorrect return-value checks, but the practice is fallible and the defect is a subtle implementation detail (e.g., checking < 0 when malloc returns NULL) that training alone does not reliably prevent.

prevents

Secure coding explicitly demands checking return values, covering most of CWE-253.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary implementation-phase memory-safety defects in delivered code the way those practices do; the clause has a declared ceiling of `partial` on this verb, and the same reasoning that graded A.8.30 -> CWE-134 `partial` applies here.

blocks

A.8.7 detects and repairs malware, but an out-of-bounds write is a code defect that malware may exploit, not the malware itself; the control does not stop the underlying memory corruption from being triggered.

finds

A.8.8's reach is DISCLOSURE — vendor advisories and CVE-published flaws — and CWE-253 is primarily a first-party code defect (return-value handling) discovered by static analysis or code review, not by scanning deployed systems against advisories. A.8.8 finds it only where it has been published as a CVE (e.g., CVE-2023-49286), which is a minority of instances; the bulk lives in first-party code that A.8.8's disclosure-based programme does not see.

References