CVE-2026-38976
Deferred Deferred - Pending Action

NULL Pointer Dereference in mrubyc

Vulnerability report for CVE-2026-38976, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-06

Last updated on: 2026-07-07

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-06
Last Modified
2026-07-07
Generated
2026-07-27
AI Q&A
2026-07-07
EPSS Evaluated
2026-07-25
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
mruby mrubyc From 3.0.0 (inc) to 3.4.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a NULL pointer dereference found in mrubyc versions through 3.4.1. It occurs in the source file src/vm.c within the function op_super() / OP_SUPER. The issue arises because there is a missing runtime guard for the top-level super, which can lead to the program attempting to access a NULL pointer.

Detection Guidance

This vulnerability can be detected by observing crashes or denial-of-service conditions in the mrubyc interpreter when executing Ruby bytecode files that use the `super` keyword at the top level.

Specifically, if you have access to the environment running mrubyc, you can test for the vulnerability by running a crafted .mrb bytecode file containing a top-level `super` call and monitoring if the interpreter crashes.

There are no explicit commands provided in the resources, but a practical approach is to execute a test script or bytecode that uses `super` outside of a method context and check for crashes or error messages.

Impact Analysis

A NULL pointer dereference can cause the affected program to crash or behave unexpectedly. This can lead to denial of service or instability in applications using mrubyc through version 3.4.1.

Compliance Impact

The provided information does not include any details about the impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Mitigation Strategies

To mitigate this vulnerability, update mrubyc to a version that includes the fix for CVE-2026-38976.

The fix adds a runtime guard in the `op_super` function to check if the call information is NULL before proceeding, preventing null pointer dereference crashes.

If updating is not immediately possible, avoid executing Ruby bytecode that uses the `super` keyword outside of method contexts, as this triggers the vulnerability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-38976. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart