mrubyc through 4.0.0 contains a null pointer dereference vulnerability in the op_enter() handler in src/vm.c when processing untrusted bytecode. (CVE-2026-86547)
Source GCVE Database
Not known to be exploited · CVSS 6.2 Medium.
Data as of 10/25/2026, 04:40:14 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubmrubyc/mrubycpkg:github/mrubyc/mrubycOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid processing untrusted .mrb bytecode files or implement input validation to prevent OP_ENTER instructions at the top level.
Description
mrubyc versions through 4.0.0 contain a null pointer dereference vulnerability in the op_enter() handler located in src/vm.c. This flaw occurs when processing untrusted .mrb bytecode files containing OP_ENTER instructions at the top level. Exploitation results in a crash of the embedding application, causing denial of service.
Impact
Successful exploitation causes a denial of service by crashing the embedding application due to a null pointer dereference. There is no confidentiality or integrity impact reported. The attack requires local access to supply malicious bytecode.
Weaknesses
- CWE-476NULL Pointer Dereference (opens in a new tab)
Base weaknessLikelihood of exploit: MediumCWE Top 25 (2025): #13OWASP Top 10 A10:2025: Mishandling of Exceptional Conditions (opens in a new tab)
The product dereferences a pointer that it expects to be valid but is NULL.
References
- nvd.nist.gov/vuln/detail/CVE-2026-86547 (opens in a new tab)
- github.com/mrubyc/mrubyc/blob/4261cf5e5ae5579e3110dab98a04b91c7d919429/src/vm.c (opens in a new tab)
- github.com/mrubyc/mrubyc/blob/release4.0.0/src/vm.c (opens in a new tab)
- vulncheck.com/advisories/mrubyc-through-4.0.0-null-pointer-dereference-via-op-enter (opens in a new tab)