Submit #692130: mrubyc 3.4 NULL Pointer Dereferenceinfo

Titlemrubyc 3.4 NULL Pointer Dereference
DescriptionWhen the first argument ptr passed to the src/alloc.c#L796::mrbc_raw_realloc function is NULL, the function fails to handle this edge case correctly. It proceeds to dereference an invalid memory address calculated from the NULL pointer, causing an immediate Segmentation Fault and crashing the application. More detail: https://github.com/mrubyc/mrubyc/issues/244
Source⚠️ https://github.com/mrubyc/mrubyc/issues/244
User
 micromilo (UID 84159)
Submission11/10/2025 15:26 (7 months ago)
Moderation11/19/2025 10:05 (9 days later)
StatusAccepted
VulDB entry332925 [mrubyc up to 3.4 src/alloc.c mrbc_raw_realloc ptr null pointer dereference]
Points19

Want to stay up to date on a daily basis?

Enable the mail alert feature now!