CVE-2026-0648
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-01-27
- Last modified
- 2026-06-17
- Assigned by
- emo@eclipse.org
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.1 %
higher than 1 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Eclipse | Threadx | ≥ 6.1.7, < 6.4.5 | Affected |
Weakness type
-
CWE-787: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
-
CWE-253: Incorrect Check of Function Return Value
The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.
References
Related at Berigo
Articles
-
New exploit is said to grant SYSTEM through Microsoft Defender
Same product
2026-08-14
On 12 August 2026 the researcher known as Nightmare Eclipse released exploit code called ShieldBreak, said to grant SYSTEM privileges through Microso…
-
Microsoft issues mitigation advice for the YellowKey BitLocker bypass
Same product
2026-05-19
YellowKey lets an attacker with physical access bypass BitLocker. Microsoft points to TPM with PIN and a WinRE registry change.
-
Researcher sharpens criticism of Microsoft's handling of RedSun
Same product
2026-05-13
A researcher claims Microsoft quietly patched the RedSun Windows flaw without a CVE or advisory, and that YellowKey is less understood than assumed.
-
Two Windows Defender privilege escalations seen in real attacks
Same product
2026-04-17
Huntress Labs has observed that two published Defender weaknesses, plus a tool that blocks signature updates, are being used by attackers.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.