CVE-2025-13397

mrubyc alloc.c mrbc_raw_realloc null pointer dereference

Published Nov 19, 2025 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared S-itoc
S-itoc mruby\/c
CPEs cpe:2.3:a:s-itoc:mruby\/c:*:*:*:*:*:*:*:*
Vendors & Products S-itoc
S-itoc mruby\/c
Type Values Removed Values Added
First Time appeared Mruby
Mruby mruby
Vendors & Products Mruby
Mruby mruby
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title mrubyc alloc.c mrbc_raw_realloc null pointer dereference
Weaknesses CWE-404
CWE-476
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 19, 2025, 4:48 PM
Reserved
Nov 19, 2025, 9:05 AM
Status
Analyzed
Published
Nov 19, 2025, 4:15 PM
Modified
Oct 19, 2026, 1:10 PM