CVE-2025-13397
published medium CVSS 4.0 · 4.8mrubyc alloc.c mrbc_raw_realloc null pointer dereference
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | mrubyc3.0 · 3.1 · 3.2 · 3.3 · 3.4 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulDB · cna | 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 | — |
| 3.0 | 3.3 | low | VulDB · cna | 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 | — |
| 2.0 | 1.7 | low | VulDB · cna | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | mrubyc | 3.0 (affected)3.1 (affected)3.2 (affected)3.3 (affected)3.4 (affected) | VulDB · cna |
Weaknesses
2- CWE-476 NULL Pointer Dereference
- CWE-404 Denial of Service
References
6- https://github.com/mrubyc/mrubyc/commit/009111904807b8567262036bf45297c3da8f1c87
- https://github.com/mrubyc/mrubyc/issues/244
- https://github.com/mrubyc/mrubyc/issues/244#issuecomment-3400382026
- VDB-332925 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.332925
- VDB-332925 | mrubyc alloc.c mrbc_raw_realloc null pointer dereference https://vuldb.com/?id.332925
- Submit #692130 | mrubyc 3.4 NULL Pointer Dereference https://vuldb.com/?submit.692130
Provider assertions
2VulDB · cna
mrubyc alloc.c mrbc_raw_realloc null pointer dereference
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e027ec9a30291ee3c55d52f830fae5a7585520d46b69813db53a12c648bf461e
- Ingested
- 23 Sep 2026, 08:37:10 UTC
- Source record
- Official CVE record