Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft .mrb file with top-level OP_ENTER
-
DeliveryDeliver bytecode to mrubyc-embedding application
-
ExploitVM loads and begins executing bytecode
-
Executionop_enter() dereferences null call-frame pointer
-
PersistHost process crashes
-
ImpactDenial of service achieved
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 | The target application must accept and execute .mrb bytecode supplied by or influenced by the attacker - for example, through a file upload interface, a network-facing script endpoint, or an over-the-air update channel that does not validate bytecode integrity. The crash is triggered specifically by OP_ENTER opcodes appearing at the top level of the bytecode (outside any method scope); normally compiled Ruby code would not produce this pattern, so the attack requires deliberate crafting of malicious bytecode rather than merely supplying valid mruby source. No authentication is required to craft the malicious file itself, but the delivery mechanism determines whether the attacker needs any access to the system. Applications that only execute internally compiled, integrity-verified bytecode are not exposed. |
| Impact | The CVSS 3.1 base score of 6.2 (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately reflects the impact profile: availability-only, no confidentiality or integrity impact, and a local attack vector that requires the attacker to supply the malicious bytecode to the application. The PR:N rating is plausible - crafting a .mrb file requires no system privileges, only the ability to provide it as input. No CISA KEV listing and no confirmed public exploit code exist, so exploitation probability is low in the absence of a specific delivery mechanism. The primary realistic threat is in embedded or IoT scenarios where mrubyc is used as a user-facing scripting engine and operators accept externally sourced .mrb files. EPSS data was not provided. Overall, this is a medium-severity DoS in a niche embedded platform with no evidence of weaponization. |
| Exploit ScenarioDerived | An attacker crafts a minimal .mrb bytecode file that places an OP_ENTER instruction at the top level of the script, outside any method or block context, and submits it to an embedded device or application that uses mrubyc to execute user-supplied scripts. The VM's op_enter() handler dereferences a null call-frame pointer, the host process receives a fatal signal, and the device service crashes, causing denial of service. No public exploit code is confirmed, but the attack is straightforward for anyone familiar with the mrubyc bytecode format. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Null pointer dereference in mrubyc through 4.0.0 allows an attacker who can supply untrusted .mrb bytecode to crash any application embedding the VM. The op_enter() handler in src/vm.c fails to validate execution context before dereferencing, and OP_ENTER instructions placed at the top level of a crafted bytecode file - where no call frame exists - trigger the dereference and terminate the embedding application. No public exploit or active exploitation has been identified at time of analysis, and real-world risk is bounded by the requirement to feed attacker-controlled bytecode to the target application.
RemediationAI
No vendor-released patched version is identified from the available reference data. The two GitHub references point to the vulnerable source at different commits rather than to a fix. Developers embedding mrubyc should monitor the upstream repository for a tagged release beyond 4.0.0 that addresses this issue; commit 4261cf5e5ae5579e3110dab98a04b91c7d919429 should be reviewed to determine whether it contains the fix. In the interim, the most effective compensating control is to refuse to load any .mrb bytecode that does not originate from a trusted, integrity-checked source - for example, by requiring bytecode to be signed or hashed before execution. Applications that must accept externally supplied bytecode should run the mrubyc VM in an isolated process or sandbox so that a crash does not affect the broader system. Restricting which users or network paths can supply .mrb files to the application also reduces exposure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
mrubyc (cpe:2.3:a:mrubyc:mrubyc:*:*:*:*:*:*:*:*) is a lightweight, resource-constrained implementation of mruby targeting microcontrollers and embedded systems. It executes pre-compiled .mrb bytecode through a register-based virtual machine defined in src/vm.c. CWE-476 (Null Pointer Dereference) applies: the op_enter() handler at line 1537 of the release-4.0.0 source assumes a valid call frame is on the execution stack when processing OP_ENTER opcodes, but the VM does not enforce this precondition for top-level bytecode. A specially constructed .mrb file can place OP_ENTER at the outermost scope, causing the handler to dereference a null pointer and generating a fatal signal in the host process.
Know when Mrubyc 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Local vector because exploit requires supplying a crafted file; no privileges needed to craft the file; availability-only impact from process crash.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
mrubyc through 4.0.0 contains a null pointer dereference vulnerability in the op_enter() handler in src/vm.c when processing untrusted bytecode. Attackers can craft malicious .mrb bytecode files with OP_ENTER instructions at the top level to crash the embedding application and cause denial of service.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-74787
GHSA-42q4-rvcw-q7wc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB