The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a signed integer overflow, possibly leading to out-of-bounds memory access because the mrb_str_resize function in string.c does not check for a negative length.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-07-17T03:00:00

Updated: 2024-08-05T09:21:41.601Z

Reserved: 2018-07-16T00:00:00

Link: CVE-2018-14337

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2018-07-17T03:29:00.227

Modified: 2022-05-12T20:12:40.610

Link: CVE-2018-14337

cve-icon Redhat

No data.