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.
0.2%(unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-11-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-404Improper Resource Shutdown or Release CWE-476NULL Pointer Dereference
Show the promptExplain CVE-2025-13397 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-13397?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-13397?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-13397 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.
Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
s-itoc:mruby\/c
Versions
From the NVD's CPE matches.
Product
Affected
s-itoc:mruby/c
through 3.4
Attack patterns (CAPEC)
CAPEC-125 Flooding Likelihood: High · Severity: Medium
CAPEC-130 Excessive Allocation Likelihood: Medium · Severity: Medium
CAPEC-131 Resource Leak Exposure Likelihood: Medium · Severity: Medium