CVE-2022-0240
NULL Pointer Dereference in mruby/mruby
mruby is vulnerable to NULL Pointer Dereference
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.2
NULL Pointer Dereference in mruby/mruby
mruby is vulnerable to NULL Pointer Dereference
- Record
CVE-2022-0240- CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
EUVDEUVD-2022-15434
6.2
mruby is vulnerable to NULL Pointer Dereference
- Record
EUVD-2022-15434- CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r744-r36f-363j No score
mruby is vulnerable to NULL Pointer Dereference
mruby is vulnerable to NULL Pointer Dereference
- Record
GHSA-r744-r36f-363j- Weakness
- CWE-476
- Updated
- 2026-11-02
NVD
7.5
mruby is vulnerable to NULL Pointer Dereference
- Record
CVE-2022-0240- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-0240
7.5
mruby is vulnerable to NULL Pointer Dereference
- Record
ALPINE-CVE-2022-0240- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
6.2
NULL Pointer Dereference in mruby/mruby
mruby is vulnerable to NULL Pointer Dereference
- Record
CVE-2022-0240- CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-0240
7.5
mruby is vulnerable to NULL Pointer Dereference
- Record
DEBIAN-CVE-2022-0240- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVUBUNTU-CVE-2022-0240
7.5
mruby is vulnerable to NULL Pointer Dereference
- Record
UBUNTU-CVE-2022-0240- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11753-1 No score
libmruby3-3.0.0-3.1 on GA media
These are all security issues fixed in the libmruby3-3.0.0-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11753-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mrubyAlpine:v3.17 |
before 3.1.0-r0 | 3.1.0-r0 |
mrubyAlpine:v3.18 |
before 3.1.0-r0 | 3.1.0-r0 |
mrubyAlpine:v3.19 |
before 3.1.0-r0 | 3.1.0-r0 |
mrubyAlpine:v3.20 |
before 3.1.0-r0 | 3.1.0-r0 |
mrubyAlpine:v3.21 |
before 3.1.0-r0 | 3.1.0-r0 |
mrubyAlpine:v3.22 |
before 3.1.0-r0 | 3.1.0-r0 |
mrubyAlpine:v3.23 |
before 3.1.0-r0 | 3.1.0-r0 |
mrubyAlpine:v3.24 |
before 3.1.0-r0 | 3.1.0-r0 |
mrubyDebian:12 |
before 3.1.0-1 | 3.1.0-1 |
mrubyDebian:13 |
before 3.1.0-1 | 3.1.0-1 |
Show 22 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mrubyDebian:14 |
before 3.1.0-1 | 3.1.0-1 |
groongaUbuntu:16.04:LTS |
All versions, plus listed versions 4.0.6.1-2ubuntu24.0.6.1-2ubuntu35.1.1-1ubuntu25.1.2-1ubuntu16.0.0-1ubuntu26.0.1-1ubuntu1 |
None known |
mrubyUbuntu:16.04:LTS |
All versions, plus listed versions 1.1.0+20150817+gita1731254-11.1.0+20150906+git1cbbb7e1-11.2.0+20160315+git4f20d58a-1 |
None known |
groongaUbuntu:18.04:LTS |
All versions, plus listed versions 7.0.6-17.0.8-17.0.9-17.1.0-17.1.1-17.1.1-1build18.0.0-1 |
None known |
h2oUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.2.3+dfsg-22.2.4+dfsg-12.2.4+dfsg-1build12.2.4+dfsg-1ubuntu0.1~esm2 |
None known |
mrubyUbuntu:18.04:LTS |
All versions, plus listed versions 1.3.0-11.3.0+20170925+git38185028-11.3.0+20171029+git77edafb0-11.4.0-1 |
None known |
groongaUbuntu:20.04:LTS |
All versions, plus listed versions 9.0.7-19.0.7-1build19.0.8-19.0.9-19.1.0-19.1.1-19.1.2-1 |
None known |
h2oUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 2.2.5+dfsg2-32.2.5+dfsg2-3build12.2.5+dfsg2-3ubuntu0.1~esm1 |
None known |
mrubyUbuntu:20.04:LTS |
All versions, plus listed versions 2.0.0-1 |
None known |
groongaUbuntu:22.04:LTS |
All versions, plus listed versions 11.0.0-211.0.7-111.0.9-111.0.9-1build111.1.0-111.1.1-112.0.0-1 |
None known |
mrubyUbuntu:22.04:LTS |
All versions, plus listed versions 2.1.2-33.0.0-13.0.0-3 |
None known |
h2oUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 2.2.5+dfsg2-62.2.5+dfsg2-6.12.2.5+dfsg2-6.1ubuntu12.2.5+dfsg2-6.1ubuntu22.2.5+dfsg2-6.1ubuntu2+esm1 |
None known |
groongaUbuntu:24.04:LTS |
All versions, plus listed versions 13.0.1+dfsg-113.0.8+dfsg-113.0.9+dfsg-113.1.1+dfsg-113.1.1+dfsg-1.113.1.1+dfsg-1.1build2 |
None known |
h2oUbuntu:24.04:LTS |
All versions, plus listed versions 2.2.5+dfsg2-72.2.5+dfsg2-82.2.5+dfsg2-8.1ubuntu12.2.5+dfsg2-8.1ubuntu22.2.5+dfsg2-8.1ubuntu3 |
None known |
mrubyUbuntu:24.04:LTS |
All versions, plus listed versions 3.2.0-13.2.0-2 |
None known |
groongaUbuntu:25.10 |
All versions, plus listed versions 14.1.0+dfsg-315.0.4+dfsg-115.0.4+dfsg-215.1.5+dfsg-2 |
None known |
mrubyUbuntu:25.10 |
All versions, plus listed versions 3.3.0-1 |
None known |
groongaUbuntu:26.10 |
All versions, plus listed versions 16.0.0+dfsg-1 |
None known |
mrubyUbuntu:26.10 |
All versions, plus listed versions 3.4.0-23.4.0-34.0.0-1 |
None known |
groongaUbuntu:26.04:LTS |
All versions, plus listed versions 15.1.5+dfsg-215.1.7+dfsg-115.1.9+dfsg-115.2.0+dfsg-115.2.1+dfsg-115.2.3+dfsg-116.0.0+dfsg-1 |
None known |
mrubyUbuntu:26.04:LTS |
All versions, plus listed versions 3.3.0-13.4.0-2 |
None known |
mrubyopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 3.0.0-3.1 | 3.0.0-3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-0240 is a medium vulnerability (CVSS 6.2) in Mruby, published January 17, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.96%, the 61st percentile. Fixed in mruby 3.1.0-r0.
References
huntr.dev/bounties/5857eced-aad9-417d-864e-0bdf17226cbb
github.com/mruby/mruby/commit/31fa3304049fc406a201a72293cce140f0557dca
nvd.nist.gov/vuln/detail/CVE-2022-0240
github.com/advisories/GHSA-r744-r36f-363j
security.alpinelinux.org/vuln/CVE-2022-0240
github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0240.json