Skip to main content

relibc CVE-2026-38640

HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-06-25 mitre
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify service linked against relibc
  2. Exploit
    Send crafted string to assert path
  3. Execution
    Trigger unwrap() panic in __assert_fail
  4. Impact
    Process aborts, denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a program linked against the affected relibc (commit 61f42d) actually reach the __assert_fail path with attacker-influenced data - i.e. the target must be built with C assertions enabled (not compiled with NDEBUG) and must route untrusted input into an assertion whose message/expression formatting hits the panicking unwrap(). The CVSS vector (AV:N/AC:L/PR:N/UI:N) implies no authentication or user interaction once that path is reachable, but the dominant limiting factor is platform and deployment: relibc is the Redox OS / Rust-targeting-Redox libc, so only software built on top of relibc is affected - mainstream Linux/glibc/musl systems are not. Impact is limited to availability (process crash); there is no code execution or data exposure.

Impact

The CVSS 3.1 base score is 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) - high, but driven entirely by the availability impact (A:H) with zero confidentiality or integrity effect, i.e. a pure DoS. The network attack vector and no-privileges/no-interaction metrics assume the vulnerable assertion path is reachable from remote, attacker-controlled input, which depends heavily on how the consuming application exposes relibc; for a library-internal function this AV:N is optimistic and context-dependent. Counterbalancing signals are notably mild: EPSS is 0.17% (6th percentile) and there is no CISA KEV listing, so real-world exploitation pressure is low despite publicly available POC code. The conflict to flag explicitly: CVSS rates this network-exploitable and high-severity, but the affected component is an OS-specific libc with very small deployment, and the impact ceiling is a single-process crash - so treat real-world priority as low-to-moderate, prioritized only where relibc is actually in production.

Exploit ScenarioDerived

An attacker sends a crafted string to a service that is statically or dynamically linked against the vulnerable relibc and that passes the input through a code path containing a C assert(). When the assertion fails, __assert_fail calls unwrap() on the malformed input, panics, and aborts the process - taking the service offline. Public POC code is available at https://github.com/Marsman1996/pocs/tree/master/redox/CVE-2026-38640, lowering the effort to reproduce.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 26, 2026

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.

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.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Jun 26, 2026 - 14:22 NVD
7.5 (HIGH)
CVE Published
Jun 25, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

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

Executive ViewAI

Why It Matters

relibc, the Redox OS C standard library, contains a denial-of-service vulnerability (CVE-2026-38640, CVSS 7.5) that can crash processes through malformed input. Although publicly available exploit code exists, real-world exploitation risk remains low with EPSS at 0.2% and no widespread attacks observed. Organizations deploying Redox OS should assess exposure and implement compensating controls.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce strict input validation and sanitization on all attacker-controlled data flowing to assertion handlers; (2) Implement process-level fault isolation and automatic restart to limit denial-of-service scope; (3) Monitor Redox OS community repositories and security mailing lists for security updates to relibc.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Rare
Redox OS hobby/research libc, negligible production deployment
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy