{"id":"CVE-2025-13397","aliases":["CVE-2025-13397"],"related":[],"kind":"vulnerability","state":"published","title":"mrubyc alloc.c mrbc_raw_realloc null pointer dereference","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de seguridad ha sido detectada en mrubyc hasta la versión 3.4. Esto afecta a la función mrbc_raw_realloc del archivo src/alloc.c. Dicha manipulación del argumento ptr conduce a una desreferencia de puntero nulo. Un ataque debe ser abordado localmente. El nombre del parche es 009111904807b8567262036bf45297c3da8f1c87. Es aconsejable implementar un parche para corregir este problema.","source":"nvd"}],"published":"2025-11-19T15:32:08.751Z","modified":"2026-10-19T13:10:00.110Z","severity":{"scorer":"VulDB","scheme":"CVSS: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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS: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","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","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","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","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","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C","score":1.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-404","CWE-476"],"affected":[{"ranges":[{"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"}],"product":"mrubyc","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"3.4"}],"vendor":"s-itoc","product":"mruby/c","cpe":"cpe:2.3:a:s-itoc:mruby\\/c:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.332925","tags":["technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.332925","tags":["permissions-required","signature","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?submit.692130","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mrubyc/mrubyc/issues/244","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mrubyc/mrubyc/issues/244#issuecomment-3400382026","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mrubyc/mrubyc/commit/009111904807b8567262036bf45297c3da8f1c87","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["micromilo (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-19T16:46:17.902Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-13397","url":"https://www.cve.org/CVERecord?id=CVE-2025-13397","licence":"CVE Terms of Use","modified":"2025-11-19T16:48:37.028Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-13397","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13397","licence":"Public domain","modified":"2026-10-19T13:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:07.823Z","epss":{"score":0.00156,"percentile":0.04945,"date":"2026-12-02T12:00:21.000Z"}}