Vulnerability · Published Jan 2, 2022 · Assigned by @huntrdev

CVE-2022-0080Heap-based Buffer Overflow in mruby/mruby

High 8.2

In plain English

A high-severity heap buffer overflow in mruby/mruby from mruby. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)1.6%top 23.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

mruby is vulnerable to Heap-based Buffer Overflow

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20mruby3.1.0-r0ALPINE-CVE-2022-0080
Alpine:v3.21mruby3.1.0-r0ALPINE-CVE-2022-0080
Alpine:v3.22mruby3.1.0-r0ALPINE-CVE-2022-0080
Alpine:v3.23mruby3.1.0-r0ALPINE-CVE-2022-0080
Alpine:v3.24mruby3.1.0-r0ALPINE-CVE-2022-0080
Debian:12mruby3.0.0-3DEBIAN-CVE-2022-0080
Debian:13mruby3.0.0-3DEBIAN-CVE-2022-0080
Debian:14mruby3.0.0-3DEBIAN-CVE-2022-0080
Ubuntu:22.04:LTSmrubyno fix listedUBUNTU-CVE-2022-0080
Ubuntu:24.04:LTSmrubyno fix listedUBUNTU-CVE-2022-0080
Ubuntu:25.10mrubyno fix listedUBUNTU-CVE-2022-0080
Ubuntu:26.04:LTSmrubyno fix listedUBUNTU-CVE-2022-0080
Ubuntu:26.10mrubyno fix listedUBUNTU-CVE-2022-0080

Affected products (as reported)

VendorProductVersions
mruby mruby/mruby unspecified – before 3.1

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

References