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.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-476 — NULL Pointer Dereference
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mrubyc | mrubyc | 2.0 to <=4.0.0 |
References
- https://github.com/mrubyc/mrubyc/blob/release4.0.0/src/vm.c#L1537 (technical-description)
- https://github.com/mrubyc/mrubyc/blob/4261cf5e5ae5579e3110dab98a04b91c7d919429/src/vm.c#L1534 (technical-description)
- https://www.vulncheck.com/advisories/mrubyc-through-4.0.0-null-pointer-dereference-via-op-enter (third-party-advisory)
Generated from the official CVE List on 10 Sep 2026 07:03 UTC.