Eclipse ThreadX up to 6.4.3 tx_osek.c CreateCounter function return value
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.1 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in Eclipse ThreadX up to 6.4.3. Affected by this vulnerability is the function CreateCounter of the file threadx/utility/rtos_compatibility_layers/OSEK/tx_osek.c. The manipulation leads to function return value.
This vulnerability is listed as CVE-2026-0648. The attack must be carried out locally. There is no available exploit.
Details
A vulnerability was found in Eclipse ThreadX up to 6.4.3 and classified as problematic. This issue affects the function CreateCounter of the file threadx/utility/rtos_compatibility_layers/OSEK/tx_osek.c. The manipulation with an unknown input leads to a function return value vulnerability. Using CWE to declare the problem leads to CWE-253. The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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 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.
The weakness was presented by Lavine Yue. The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-0648 since 01/06/2026. The exploitation is known to be difficult. An attack has to be approached locally. Technical details are known, but no exploit is available.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.1VulDB Meta Temp Score: 6.1
VulDB Base Score: 4.5
VulDB Temp Score: 4.5
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.8
CNA Vector (eclipse): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Function return valueCWE: CWE-253
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
01/06/2026 CVE reserved01/27/2026 Advisory disclosed
01/27/2026 VulDB entry created
01/27/2026 VulDB entry last update
Sources
Advisory: github.comResearcher: Lavine Yue
Status: Confirmed
CVE: CVE-2026-0648 (🔒)
GCVE (CVE): GCVE-0-2026-0648
GCVE (VulDB): GCVE-100-343013
Entry
Created: 01/27/2026 17:09Changes: 01/27/2026 17:09 (64)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.