{"id":"CVE-2025-13397","state":"PUBLISHED","title":"mrubyc alloc.c mrbc_raw_realloc null pointer dereference","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.","publishedAt":"2025-11-19T15:32:08.751Z","updatedAt":"2025-11-19T16:48:37.028Z","severity":{"score":4.8,"label":"Medium","version":"4.0","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","source":"VulDB"},"assigner":"VulDB","products":["n/a mrubyc"],"affected":[{"vendor":"n/a","product":"mrubyc","versions":[{"version":"3.0","status":"affected"},{"version":"3.1","status":"affected"},{"version":"3.2","status":"affected"},{"version":"3.3","status":"affected"},{"version":"3.4","status":"affected"}]}],"references":["https://vuldb.com/?id.332925","https://vuldb.com/?ctiid.332925","https://vuldb.com/?submit.692130","https://github.com/mrubyc/mrubyc/issues/244","https://github.com/mrubyc/mrubyc/issues/244#issuecomment-3400382026","https://github.com/mrubyc/mrubyc/commit/009111904807b8567262036bf45297c3da8f1c87"],"weaknesses":["CWE-476","CWE-404"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/13xxx/CVE-2025-13397.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-13397","state":"PUBLISHED","datePublished":"2025-11-19T15:32:08.751Z","dateUpdated":"2025-11-19T16:48:37.028Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2025-11-19T09:05:40.304Z"},"containers":{"cna":{"title":"mrubyc alloc.c mrbc_raw_realloc null pointer dereference","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"mrubyc","versions":[{"version":"3.0","status":"affected"},{"version":"3.1","status":"affected"},{"version":"3.2","status":"affected"},{"version":"3.3","status":"affected"},{"version":"3.4","status":"affected"}]}],"references":[{"url":"https://vuldb.com/?id.332925","name":"VDB-332925 | mrubyc alloc.c mrbc_raw_realloc null pointer dereference","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.332925","name":"VDB-332925 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.692130","name":"Submit #692130 | mrubyc 3.4 NULL Pointer Dereference","tags":["third-party-advisory"]},{"url":"https://github.com/mrubyc/mrubyc/issues/244","tags":["issue-tracking"]},{"url":"https://github.com/mrubyc/mrubyc/issues/244#issuecomment-3400382026","tags":["issue-tracking"]},{"url":"https://github.com/mrubyc/mrubyc/commit/009111904807b8567262036bf45297c3da8f1c87","tags":["patch"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":4.8,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":3.3,"vectorString":"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","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.3,"vectorString":"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","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":1.7,"vectorString":"AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","type":"CWE","lang":"en","description":"NULL Pointer Dereference"}]},{"descriptions":[{"cweId":"CWE-404","type":"CWE","lang":"en","description":"Denial of Service"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2025-11-19T15:32:08.751Z"},"timeline":[{"time":"2025-11-19T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2025-11-19T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2025-11-19T10:10:56.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"micromilo (VulDB User)","type":"reporter"}],"tags":["x_open-source"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-19T16:46:17.902745Z","id":"CVE-2025-13397","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-19T16:48:37.028Z"}}]}}}