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.
Published: 2026-09-09
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Wed, 09 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 09 Sep 2026 10:15:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-09T12:41:16.443Z

Reserved: 2026-09-08T00:49:47.457Z

Link: CVE-2026-86547

cve-icon Vulnrichment

Updated: 2026-09-09T12:41:13.046Z

cve-icon NVD

Status : Received

Published: 2026-09-09T10:22:33.803

Modified: 2026-09-09T13:20:44.390

Link: CVE-2026-86547

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T11:45:09Z

Weaknesses