CVE-2025-13397
mrubyc alloc.c mrbc_raw_realloc null pointer dereference
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 19, 2025
- Updated
- Nov 19, 2025
- Reserved
- Nov 19, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | 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 | VulDB |
| 3.1 | 3.3 Low | 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 | VulDB |
| 3.0 | 3.3 Low | 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 | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
mrubycn/a |
|
References
- VDB-332925 | mrubyc alloc.c mrbc_raw_realloc null pointer dereferencevdb-entrytechnical-description
- VDB-332925 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #692130 | mrubyc 3.4 NULL Pointer Dereferencethird-party-advisory
- https://github.com/mrubyc/mrubyc/issues/244issue-tracking
- https://github.com/mrubyc/mrubyc/issues/244#issuecomment-3400382026issue-tracking
- https://github.com/mrubyc/mrubyc/commit/009111904807b8567262036bf45297c3da8f1c87patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.