BreachSpiderVerified, not vibes

CVE-2026-0648 in Eclipse Threadx

Medium 6.3

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() a...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.3
EPSS0.2%
EPSS percentile4th
FixUnknown

Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Eclipse Threadx ≥ 6.1.7, < 6.4.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-0648
BreachSpider IDBS-2026-GLOBAL-059632-M
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Published2026-01-27
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-253: CWE-253

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Analysis AI-written, not human-reviewed

A vulnerability in the CreateCounter() function within the ThreadX RTOS due to incorrect error-checking logic can lead to potential system instability or security issues.

The vulnerability arises from the CreateCounter() function not correctly handling the return value of osek_get_counter(). The function checks for a return value of 0u to indicate failure, but osek_get_counter() returns E_OS_SYS_STACK (12U) on failure, leading to incorrect error handling.

Questions

What is CVE-2026-0648?

A vulnerability in the CreateCounter() function within the ThreadX RTOS due to incorrect error-checking logic can lead to potential system instability or security issues.

What is the CVSS score for CVE-2026-0648?

CVE-2026-0648 has CVSS 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H. EPSS: 0.2%.

Is CVE-2026-0648 actively exploited?

No confirmed active exploitation of CVE-2026-0648 as of 2026-09-25.

How do I remediate CVE-2026-0648?

Priority: MEDIUM.

What systems are affected by CVE-2026-0648?

CVE-2026-0648 affects Eclipse Threadx.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Eclipse","product":"Threadx","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.