Home / mruby / mruby / CVE-2022-4996
CVE-2022-4996: is it exploited, and which versions of mruby are affected and fixed?
CVE-2022-4996 is a floating Point Comparison with Incorrect Operator vulnerability in mruby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: mruby 3.1.0 (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.9, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2022-4996?
mruby bigint.c udiv floating point comparison with incorrect operator
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.
From the CVE record by VulDB, last updated August 21, 2026, 16:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| mruby | 3.1.0 |
As the CVE record by VulDB states it, last updated August 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2022-4996?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-4996 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, August 21, 2026)
- EPSS
- 0.48% probability of exploitation activity in the next 30 days, percentile 43.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1077 Floating Point Comparison with Incorrect Operator
Where are the vendor advisories and references?
- VDB-391391 | mruby bigint.c udiv floating point comparison with incorrect operator vdb-entry, technical-description
- VDB-391391 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2022-4996 | CVE Analysis and Report third-party-advisory
- Submit #877513 | mruby 3.1.0 Floating Point Exception third-party-advisory
- https://huntr.com/bounties/5a5092df-1699-4497-a8b2-38318bce0c4e exploit
Who found and reported it?
- jacky2001114 (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 17, 2026
- Published
- August 19, 2026, 23:45 UTC
- CVE record updated
- August 21, 2026, 16:46 UTC by VulDB
- NVD
- Deferred, last modified November 10, 2026, 12:10 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect mruby?
- Feb 6, 2026CVE-2026-1979 mruby: use after free
- Nov 13, 2025CVE-2025-13120 mruby: use after free
- Nov 7, 2025CVE-2025-12875 mruby: out-of-bounds write (memory corruption)
- Jul 9, 2025CVE-2025-7207 mruby: heap buffer overflow
- Feb 14, 2023CVE-2021-46023 Mruby: memory corruption (buffer overflow)
- Jan 14, 2022CVE-2021-46020 Mruby: memory corruption (buffer overflow)
- Jul 1, 2021CVE-2020-36401 Mruby: double free
- Jul 21, 2020CVE-2020-15866 Mruby: out-of-bounds write (memory corruption)
Questions about CVE-2022-4996
Is CVE-2022-4996 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.48% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of mruby are affected by CVE-2022-4996?
mruby 3.1.0, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2022-4996?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2022-4996?
Medium (6.9, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2022-4996?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.