1. Accueil
  2. Vulnérabilités
  3. CVE-2026-0648

CVE-2026-0648

The vulnerability stems from an incorrect error-checking logic in the CreateCounter() function (in…

Publiée le 27 janv. 2026 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Faible 26/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Eclipse (1 ligne(s))
Eclipse
ProduitVersionsCorrigé dansSource
Threadx de 6.1.7 (inclus) à 6.4.5 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données