CVE-2025-13397: mrubyc alloc.c mrbc_raw_realloc null pointer dereference

Published Nov 19, 2025
·
Updated

A security vulnerability has been detected in mrubyc up to 3.4. This impacts the function mrbcrawrealloc 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 Software

2 affected components
mruby mrubyc<=3.4
S-itoc Mruby\/c<=3.4

Event History

Nov 19, 2025
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-13397?

CVE-2025-13397 has been classified as a local null pointer dereference vulnerability impacting mrubyc up to version 3.4.

2

How do I fix CVE-2025-13397?

To fix CVE-2025-13397, update mrubyc to the latest version beyond 3.4 that includes the patch 009111904807b8.

3

Which versions of mrubyc are affected by CVE-2025-13397?

CVE-2025-13397 affects mrubyc versions up to and including 3.4.

4

Can CVE-2025-13397 be exploited remotely?

No, CVE-2025-13397 requires local access to exploit the vulnerability.

5

What component of mrubyc does CVE-2025-13397 impact?

CVE-2025-13397 impacts the mrbc_raw_realloc function in the src/alloc.c file of mrubyc.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203