{"id":"CVE-2022-0570","aliases":["EUVD-2022-15687","GHSA-69j8-4j47-xjj7","UBUNTU-CVE-2022-0570"],"status":"published","title":"Heap-based Buffer Overflow in mruby/mruby","description":"Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.","severity":{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01209,"percentile":0.68616,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-122"],"published":"2022-02-13T04:50:10Z","modified":"2026-10-28T10:28:10Z","affected":[{"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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-3","3.0.0-1","3.0.0-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.0-1","3.2.0-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0-2","3.4.0-3","4.0.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mruby","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0-1","3.4.0-2"]}],"products":[{"vendor":"mruby","product":"mruby"},{"vendor":"mruby","product":"mruby/mruby"}],"references":[{"url":"https://huntr.dev/bounties/65a7632e-f95b-4836-b1a7-9cb95e5124f1","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","web","report"]},{"url":"https://github.com/mruby/mruby/commit/38b164ace7d6ae1c367883a3d67d7f559783faad","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0570","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-69j8-4j47-xjj7"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0570.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-0570","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-0570","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-0570","title":"Heap-based Buffer Overflow in mruby/mruby","description":"Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.","status":"published","published":"2022-02-13T04:50:10Z","modified":"2024-08-02T23:32:46.035Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:34:41.34666Z"}],"euvd":[{"id":"EUVD-2022-15687","description":"Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.","status":"published","published":"2022-02-13T04:50:10Z","modified":"2024-08-02T23:32:46Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:26:04.481305Z"}],"ghsa":[{"id":"GHSA-69j8-4j47-xjj7","title":"Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.","description":"Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.","status":"published","published":"2022-02-15T00:02:47Z","modified":"2023-02-03T05:06:04Z","cwes":["CWE-122"],"updated_at":"2026-11-02T14:53:50.284505Z"}],"nvd":[{"id":"CVE-2022-0570","description":"Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.","status":"published","published":"2022-02-14T12:15:22.533Z","modified":"2026-06-17T04:20:51.777Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:07:12.155838Z"}],"osv":[{"id":"CVE-2022-0570","title":"Heap-based Buffer Overflow in mruby/mruby","description":"Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.","status":"published","published":"2022-02-13T04:50:10Z","modified":"2026-10-28T10:28:10.835865165Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T15:44:22.824781Z"},{"id":"UBUNTU-CVE-2022-0570","description":"Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.","status":"published","published":"2022-02-14T12:15:00Z","modified":"2026-10-17T12:55:55.545739303Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:53:51.630172Z"}]}}
