CVE-2025-13397
S-itoc Mruby\/c vulnerability
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
Mruby\/c. The exact versions are in the references.
What to do now
- Check your exposureFind out whether S-itoc Mruby\/c runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/mrubyc/mrubyc/commit/009111904807b8567262036bf45297c3da8f1c87 · Patch
- vuldb.com/?id.332925 · Third Party Advisory
- vuldb.com/?submit.692130 · Third Party Advisory
- github.com/mrubyc/mrubyc/issues/244
- github.com/mrubyc/mrubyc/issues/244#issuecomment-3400382026
- vuldb.com/?ctiid.332925
- nvd.nist.gov/vuln/detail/CVE-2025-13397
- cve.org/CVERecord?id=CVE-2025-13397
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.