relibc CVE-2026-38640
HIGHSeverity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Availability-only crash with no auth or interaction where the assert path is remotely reachable, hence A:H/PR:N/UI:N; C:N/I:N as no data or integrity impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
A reachable unwrap in the __assert_fail function (/assert/mod.rs) of relibc commit 61f42d allows attackers to cause a Denial of Service (DoS) via a crafted string.
AnalysisAI
Denial of service in relibc (the Redox OS C standard library implementation, commit 61f42d) lets attackers crash a process by supplying a crafted string that reaches a panicking unwrap() inside the __assert_fail function in /assert/mod.rs. Any program linked against the affected relibc that routes attacker-influenced data through an assertion failure path can be forced to abort. Publicly available exploit code exists, but the issue is not listed in CISA KEV and EPSS is low (0.17%, 6th percentile), indicating no observed widespread exploitation.
Technical ContextAI
relibc is Redox OS's Rust implementation of the C standard library (libc), used both by the Redox microkernel operating system and by Rust/C programs targeting it. The defect lives in the assertion-failure handler __assert_fail (/assert/mod.rs), which is invoked when a C assert() macro fails. The handler contains a reachable unwrap() on a fallible operation (e.g. parsing/formatting the assertion's string arguments); when that operation returns an error or None, the unwrap() triggers a Rust panic and aborts the process. The mapped weakness is CWE-400 (Uncontrolled Resource Consumption), though the concrete mechanism here is an unhandled error/panic causing process termination rather than resource exhaustion - the practical effect is an availability-only crash.
RemediationAI
No vendor-released patch version is identified at time of analysis; the upstream fix is tracked as a GitLab merge request (https://gitlab.redox-os.org/redox-os/relibc/-/merge_requests/986) against issue 262 (https://gitlab.redox-os.org/redox-os/relibc/-/issues/262), so an upstream fix is in progress but a released, tagged patched version is not independently confirmed. Until a fixed commit/release is available, build relibc from a tree that includes the MR-986 change (which replaces the panicking unwrap() in __assert_fail with graceful error handling), or, as a compensating control, avoid compiling production code with assert() calls that can receive attacker-controlled strings - disabling assertions via NDEBUG removes the vulnerable path entirely at the cost of losing assertion-based debugging checks. Where feasible, validate or sanitize external input before it reaches assertion-bearing code paths; this narrows reachability but does not eliminate the underlying defect.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today