Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local access to mrubyc environment
-
DeliveryCraft mruby script invoking missing method on builtin class
-
ExploitSubmit script to interpreter
-
ExecutionTrigger off-by-one in mrbc_find_method()
-
PersistRead beyond method table boundary
-
ImpactLeak adjacent memory word or crash interpreter
Vulnerability Assessment
| Weakness |
CWE
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability is triggered when mrubyc evaluates mruby code that calls a method absent from a builtin class, causing the missing-method lookup in |
| Impact | Real-world risk is low across most deployment scenarios. CVSS 4.4 (Medium) with AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L indicates local access and user interaction are required - exploitation is constrained to scenarios where untrusted mruby code is fed to the interpreter. EPSS at 0.15% (5th percentile) reflects near-zero exploitation probability, and SSVC confirms exploitation status as none, automatable as no, and technical impact as partial. The vulnerability is absent from CISA KEV and no public exploit code exists. The partial technical impact - minor memory leakage and potential interpreter crash - does not threaten confidential data stores or integrity. Risk is modestly elevated for embedded deployments that accept externally supplied mruby scripts (e.g., IoT devices with scripting interfaces), but negligible for devices running only static internal scripts. The mismatch between PR:N and AV:L is coherent: no OS-level privilege is needed to run the interpreter, but physical or session-level local access is required. This is a routine patch-cycle item, not an emergency response trigger. |
| Exploit ScenarioDerived | An attacker with local access supplies a crafted mruby script to a mrubyc-based embedded application, causing the interpreter to invoke a missing method on a builtin class. This triggers the off-by-one boundary error in |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Out-of-bounds read in mrubyc's builtin method dispatch path (through release3.4.1) allows a local attacker to trigger memory disclosure and interpreter crash by supplying crafted mruby code that invokes a missing method on a builtin class. The flaw resides in mrbc_find_method() in src/class.c, where an off-by-one error in the builtin method table lookup reads one element beyond the valid array boundary. No public exploit code or active exploitation has been identified; EPSS probability stands at 0.15% (5th percentile) and SSVC rates exploitation as none, placing this squarely in low real-world priority territory absent unusual deployment context.
RemediationAI
Apply the upstream fix available in commit f83a8b67ca1c7c62ac0dd548a363d79f767c4e30 (https://github.com/mrubyc/mrubyc/commit/f83a8b67ca1c7c62ac0dd548a363d79f767c4e30); a formally tagged release incorporating this fix has not been independently confirmed, so operators should monitor the mrubyc release page for a version after 3.4.1 or apply the commit patch directly to their build. As a compensating control until a patched release is confirmed, restrict mrubyc to executing only internally authored, statically compiled mruby scripts and prevent any path by which externally controlled input can reach the interpreter - this eliminates the practical attack surface. For embedded product integrators, this control has no runtime performance trade-off but requires application-layer enforcement of script origin. No other vendor advisory URL is available beyond the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-38973.
Affected VersionsENISA
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
mrubyc is a compact Ruby runtime derived from mruby, purpose-built for microcontrollers and resource-constrained embedded systems. The vulnerable function mrbc_find_method() in src/class.c handles method resolution, including a missing-method fallback path for builtin classes. The upstream fix commit (f83a8b67) reveals the root cause: the function used an off-by-one boundary in what appears to be a binary search over the builtin method table - right was not decremented before the search completed, allowing a read one slot past the end of the array. The removed assert(cls->flag_builtin) line would only have caught the condition in debug builds, leaving release builds silently vulnerable. CWE-125 (Out-of-bounds Read) precisely characterizes this: the read does not corrupt memory but can expose adjacent data or fault on unmapped memory, producing either information disclosure or an availability impact. CPE data in NVD is non-specific ('n/a:n/a'), limiting automated asset detection.
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
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Local vector and user interaction required as attacker must supply mruby script to interpreter; read-only OOB yields low confidentiality and availability, no integrity impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
mrubyc through release3.4.1 was found to contain an out-of-bounds read in builtin missing-method lookup inside mrbc_find_method().
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 buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
EUVD-2026-41976
GHSA-r4w3-7jp7-m9g5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB