Skip to main content

mruby/c (mrubyc) CVE-2026-38976

| EUVDEUVD-2026-41977 HIGH
NULL Pointer Dereference (CWE-476)
2026-07-06 mitre GHSA-ff2c-rpvx-jp6m
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Reach VM script input
  2. Delivery
    Submit script with top-level super
  3. Exploit
    Hit missing OP_SUPER guard
  4. Execution
    Dereference NULL in op_super()
  5. Impact
    Interpreter process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
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 the ability to get the mruby/c VM to execute a crafted script that invokes 'super' from top-level (module/main) scope where no enclosing method frame exists - that specific construct IS the trigger condition. The strongest limiting factor is script provenance: many embedded mruby/c deployments compile and ship trusted bytecode only, so an attacker with no path to supply or influence executed scripts cannot reach op_super(). No authentication is modeled in the CVSS vector (PR:N) and no user interaction is needed (UI:N), but the practical prerequisite of feeding untrusted Ruby code to the interpreter is the real gate on exploitability; impact is limited to a crash (availability), with no code execution or data exposure.

Impact

The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) treats this as a remotely reachable, unauthenticated, low-complexity availability issue, but that network vector is only realistic if the target application feeds attacker-controlled Ruby scripts into the VM; in typical embedded deployments the bytecode is trusted and compiled in, which materially lowers real-world exposure - this is the key signal to weigh. EPSS is low (0.15%, percentile 5%), the vulnerability is not in CISA KEV (no confirmed active exploitation), and there is no public exploit identified at time of analysis, consistent with a low-priority DoS rather than an urgent threat. No confidentiality or integrity impact exists (C:N/I:N). Net assessment: a genuine but low-severity crash bug whose 7.5 rating overstates real-world risk for most deployments - verify whether your integration actually executes untrusted scripts before prioritizing.

Exploit ScenarioDerived

An attacker who can supply a Ruby script to an mruby/c-based application submits a program that calls 'super' at the top level; the OP_SUPER handler dereferences a NULL pointer and the interpreter process crashes, denying service to the device or embedded application. Given AC:L this requires no special timing or conditions, but it hinges on the application accepting attacker-controlled scripts; no public proof-of-concept is currently identified.

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 – Jul 07, 2026

Denial of service in the mruby/c lightweight Ruby VM (all releases through 3.4.1) arises from a NULL pointer dereference in op_super()/OP_SUPER within src/vm.c, where a runtime guard for a top-level 'super' call is missing. When the interpreter executes a script that invokes 'super' outside of any method context, the VM dereferences a NULL pointer and crashes. There is no public exploit identified at time of analysis, and the low EPSS score (0.15%, 5th percentile) reflects limited exploitation interest; impact is confined to availability (CWE-476).

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - a candidate fix commit is published at https://github.com/hayat01sh1da/mrubyc/commit/c4aa2a06bfdd13a0f1ae5165c5760a2530314a42 (a contributor fork), which adds the missing runtime guard so top-level 'super' is rejected instead of dereferencing NULL; track upstream integration and release via issue https://github.com/mrubyc/mrubyc/issues/276. Until an official tagged release is available, the primary compensating control is to ensure the VM only executes trusted, statically-reviewed bytecode and to reject or sandbox any externally-supplied scripts (trade-off: eliminates any feature that runs user-submitted Ruby); alternatively, pre-validate/lint incoming scripts to reject top-level 'super' before execution (trade-off: adds a parsing step and may miss obfuscated variants). Apply watchdog/auto-restart supervision on embedded devices so a crash does not cause prolonged outage (trade-off: masks the fault rather than fixing it).

Affected VersionsENISA

n/a n/a

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

mruby/c is a compact reimplementation of the mruby Ruby VM aimed at microcontrollers and resource-constrained embedded devices, executing pre-compiled Ruby bytecode. The defect is a classic CWE-476 NULL pointer dereference in the OP_SUPER bytecode handler (op_super() in src/vm.c). 'super' delegates to a parent method's implementation and normally relies on the presence of an enclosing method/class frame; when 'super' is invoked at the top level there is no target method structure, and the handler proceeds to dereference a pointer that is NULL because the required runtime guard is absent, terminating the interpreter. The CPE data is uninformative (cpe:2.3:a:n/a:n/a:*:...), so affected-product identity comes from the description and the mrubyc GitHub repository rather than a structured NVD CPE.

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 6.2 MEDIUM

Trigger needs an attacker-supplied script executed by the VM, which is local input rather than a network service, so AV:L; no auth modeled (PR:N) and only the process crashes (A:H, C/I:N).

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/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
Jul 07, 2026 - 17:22 NVD
7.5 (HIGH)
CVE Published
Jul 06, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

mrubyc through 3.4.1 was found to contain a NULL pointer dereference in src/vm.c in op_super() / OP_SUPER due to a missing runtime guard for top-level super.

Executive ViewAI

Why It Matters

mruby/c lightweight Ruby interpreter (versions ≤3.4.1) contains a denial-of-service vulnerability triggered by executing 'super' calls outside method context, causing VM crashes and service unavailability. Organizations deploying mruby/c in embedded or IoT systems face potential operational disruption, particularly acute since no vendor patch is currently available and exploitation only requires script execution.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement static analysis or linting to detect 'super' calls outside method scope before runtime execution; (2) Deploy process watchdog/restart automation to minimize downtime from VM crashes; (3) Constrain mruby/c execution in resource-limited sandboxes (CPU, memory, execution timeout) to limit blast radius; (4) If mruby/c processes untrusted scripts from network sources, implement WAF/IPS rules to detect and block payloads containing super-based DoS patterns.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche embedded Ruby VM for microcontrollers, limited enterprise footprint
Data Quality
6 sources
Confidence: High

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 No
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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

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