What’s Vulnerable › Vulnerabilities
CVE-2025-13397: mrubyc alloc.c mrbc_raw_realloc null pointer dereference
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-19 · updated 2026-10-19
- Weakness: CWE-404
Description
A security vulnerability has been detected in mrubyc up to 3.4. This impacts the function mrbc_raw_realloc of the file src/alloc.c. Such manipulation of the argument ptr leads to null pointer dereference. An attack has to be approached locally. The name of the patch is 009111904807b8567262036bf45297c3da8f1c87. It is advisable to implement a patch to correct this issue.
Affected products
- S-Itoc Mruby/C: through 3.4
References
- https://github.com/mrubyc/mrubyc/commit/009111904807b8567262036bf45297c3da8f1c87
- https://github.com/mrubyc/mrubyc/issues/244
- https://github.com/mrubyc/mrubyc/issues/244#issuecomment-3400382026
- https://vuldb.com/?ctiid.332925
- https://vuldb.com/?id.332925
- https://vuldb.com/?submit.692130
Get alerted when CVE-2025-13397 or the next vulnerability affects your stack