Vulnerability in Mruby

CVE-2022-4996

A flaw has been found in mruby 3.1.0. Affected is the function udiv of the file bigint.c. Executing a manipulation can lead to floating point comparison with incorrect operator. It is possible to launch the attack remotely. The exploit has been published and may be used. It is best practice to apply a patch to resolve this issue.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

EPSS exploit prediction

EPSS: 0.006 (48.7th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 48.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-4996: held from 0.005 to 0.006.

EPSS over last 30 days · oldest: 0.005 · newest: 0.006 · change: +0.002

Affected products

  • Mruby — versions 3.1.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-4996?
CVE-2022-4996 is a medium-severity vulnerability in Mruby, classified under CWE-1077. CVSS score: 5.3/10. Published 2026-08-20.
How severe is CVE-2022-4996?
Medium severity. CVSS v3 base score is 5.3 out of 10.