CVE-2026-86547

mrubyc through 4.0.0 NULL Pointer Dereference via OP_ENTER

Published Sep 9, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is a null pointer dereference in the op_enter() handler of mrubyc’s virtual machine, triggered when the interpreter processes untrusted bytecode containing OP_ENTER instructions at the top level. This flaw causes the embedding application to crash, resulting in a denial of service condition for users of any component that loads user‑supplied .mrb files. The issue is a classic example of uncontrolled dereference of a NULL pointer (CWE‑476).

Affected Systems

The flaw affects the mrubyc interpreter up to and including version 4.0.0. Any systems that embed or run mrubyc and accept externally supplied bytecode are vulnerable. The product name is mrubyc, and the affected releases are all versions through 4.0.0.

Risk and Exploitability

The CVSS base score of 6.9 indicates moderate severity, and no EPSS score is available, so the current exploit probability is unknown. The vulnerability is not in the CISA KEV list. Exploitation requires access to the embedding application’s bytecode loader, meaning that an attacker can trigger the crash by delivering a malicious .mrb file. The impact is limited to an application crash and denial of service; no remote code execution, data loss, or privilege escalation is reported. The attack vector is inferred to be the delivery of crafted bytecode, either locally or over a network interface that the application accepts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mrubyc to version 4.0.1 or later where the OP_ENTER handler is fixed.
  • Sanitize or validate incoming bytecode to reject or strip OP_ENTER instructions at the top level before execution.
  • Limit who can provide bytecode files, or run the interpreter in a restricted environment to mitigate denial of service impact.

Generated by OpenCVE AI on September 9, 2026 at 11:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mruby
Mruby mruby
Vendors & Products Mruby
Mruby mruby
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title mrubyc through 4.0.0 NULL Pointer Dereference via OP_ENTER
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 9, 2026, 12:41 PM
Reserved
Sep 8, 2026, 12:49 AM
Status
Deferred
Published
Sep 9, 2026, 10:22 AM
Modified
Sep 10, 2026, 7:58 PM