CVE-2026-38976

Published Jul 6, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw occurs when the OP_SUPER instruction is executed without a guard for a top‑level super pointer in the mrubyc virtual machine. The missing runtime check allows a crafted input to dereference a null pointer, causing the process to crash or potentially corrupt memory, as identified by CWE‑476.

Affected Systems

All releases of mrubyc up to and including version 3.4.1 are affected. The flaw exists in the open‑source code distributed through the project’s repository and will impact any environment that incorporates these versions.

Risk and Exploitability

The CVSS score of 7.5 classifies the vulnerability as high severity, but the EPSS score of less than 1% suggests a low current likelihood of exploitation, and it is not listed in the CISA KEV catalog. The likely attack vector is inferred to be local or remote, depending on whether an attacker can execute a malicious mrubyc script against the target application; specific prerequisites and detailed exploitation steps are not provided in the advisory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch from the GitHub commit c4aa2a06bfdd13a0f1ae5165c5760a2530314a42, which adds the missing guard for top‑level super in src/vm.c.
  • If the patch cannot be applied, modify mrubyc source by inserting a guard that checks the super pointer before dereferencing in src/vm.c.
  • After applying the fix, restart any services or applications that use mrubyc to ensure the updated code is in effect and verify that stability is restored.

Generated by OpenCVE AI on July 31, 2026 at 14:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Null Pointer Dereference in mrubyc Virtual Machine
Type Values Removed Values Added
Title Null Pointer Dereference in mrubyc Virtual Machine
Type Values Removed Values Added
Title Null Pointer Dereference in mrubyc VM Leading to Crash
Type Values Removed Values Added
Title Null Pointer Dereference in mrubyc VM Leading to Crash
Type Values Removed Values Added
Title Null Pointer Dereference in mrubyc VM OP_SUPER Instruction
Type Values Removed Values Added
Title Null Pointer Dereference in mrubyc VM OP_SUPER Instruction
Type Values Removed Values Added
Title mrubyc OP_SUPER Null Pointer Dereference Vulnerability
Type Values Removed Values Added
Title mrubyc OP_SUPER Null Pointer Dereference Vulnerability
Type Values Removed Values Added
Title Null Pointer Dereference in mrubyc Virtual Machine
Type Values Removed Values Added
Title Null Pointer Dereference in mrubyc Virtual Machine
Type Values Removed Values Added
Title NULL Pointer Dereference in mrubyc Virtual Machine Leading to Crash
Type Values Removed Values Added
Title NULL Pointer Dereference in mrubyc Virtual Machine Leading to Crash
Type Values Removed Values Added
Title NULL Pointer Dereference in mrubyc VM op_super
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title NULL Pointer Dereference in mrubyc VM op_super
Weaknesses CWE-476
Type Values Removed Values Added
Description 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.
References

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 7, 2026, 4:14 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
Jul 6, 2026, 10:16 PM
Modified
Jul 7, 2026, 5:16 PM