{"id":"CVE-2018-14337","aliases":["DEBIAN-CVE-2018-14337","DLA-2996-1","EUVD-2018-6259","GHSA-hrqc-789v-hchf","UBUNTU-CVE-2018-14337"],"status":"published","title":"The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a signed integer...","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01354,"percentile":0.71795,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2018-07-17T03:00:00Z","modified":"2026-10-23T18:03:47Z","fixes":[{"ecosystem":"Debian:12","package":"mruby","fixed_in":["2.0.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mruby","fixed_in":["2.0.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mruby","fixed_in":["2.0.0-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0+20161228+git30d5424a-1+deb9u1"}]}],"versions":["1.2.0+20161228+git30d5424a-1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0+20150817+gita1731254-1","1.1.0+20150906+git1cbbb7e1-1","1.2.0+20160315+git4f20d58a-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1","1.3.0+20170925+git38185028-1","1.3.0+20171029+git77edafb0-1","1.4.0-1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"mruby","product":"mruby"}],"references":[{"url":"https://github.com/mruby/mruby/issues/4062","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14337"},{"url":"https://github.com/advisories/GHSA-hrqc-789v-hchf"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-14337","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-14337","tags":["report"]},{"url":"https://github.com/mruby/mruby/commit/695f29cd604787f43be1af16e38d13610bf8312b","tags":["report"]},{"url":"https://github.com/mruby/mruby/commit/adb1eae912659d680a9c5b7832e22cf73d36a69a","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-14337","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-14337","description":"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.","status":"published","published":"2018-07-17T03:00:00Z","modified":"2024-08-05T09:21:41.601Z","updated_at":"2026-11-02T14:35:00.589142Z"}],"euvd":[{"id":"EUVD-2018-6259","description":"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.","status":"published","published":"2018-07-17T03:00:00Z","modified":"2024-08-05T09:21:41Z","updated_at":"2026-11-03T02:39:47.244192Z"}],"ghsa":[{"id":"GHSA-hrqc-789v-hchf","title":"The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a signed integer...","description":"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.","status":"published","published":"2022-05-07T00:01:25Z","modified":"2023-02-01T05:02:08Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:49:51.128354Z"}],"nvd":[{"id":"CVE-2018-14337","description":"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.","status":"published","published":"2018-07-17T03:29:00.227Z","modified":"2026-06-17T01:40:49.62Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:04:32.929986Z"}],"osv":[{"id":"CVE-2018-14337","description":"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.","status":"published","published":"2018-07-17T03:29:00.227Z","modified":"2026-10-20T10:50:19.351658349Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:08.242347Z"},{"id":"DEBIAN-CVE-2018-14337","description":"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.","status":"published","published":"2018-07-17T03:29:00.227Z","modified":"2026-10-23T18:03:47.369313968Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:30.290351Z"},{"id":"UBUNTU-CVE-2018-14337","description":"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.","status":"published","published":"2018-07-17T03:29:00Z","modified":"2026-04-22T11:44:50.045381Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:17.014176Z"},{"id":"DLA-2996-1","title":"mruby - security update","status":"published","published":"2022-05-06T00:00:00Z","modified":"2026-03-09T01:23:12.964589Z","updated_at":"2026-11-02T15:46:11.189256Z"}]}}
