CVEfocus › CVE database › CVE-2022-4996

CVE-2022-4996mruby bigint.c udiv floating point comparison with incorrect operator

CVSS 5.3 MediumEPSS 0.6% (higher than 51% of CVEs)Published 2026-08-19Updated 2026-08-21Assigner: VulDB

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.

CWE-1077

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mrubyFix pendingUBUNTU-CVE-2022-4996
Ubuntu 26.04mrubyUnder investigationUBUNTU-CVE-2022-4996
Ubuntu 24.04mrubyUnder investigationUBUNTU-CVE-2022-4996
Ubuntu 22.04mrubyUnder investigationUBUNTU-CVE-2022-4996
Ubuntu 20.04mrubyFix pendingUBUNTU-CVE-2022-4996
Ubuntu 18.04mrubyFix pendingUBUNTU-CVE-2022-4996
Ubuntu 16.04mrubyFix pendingUBUNTU-CVE-2022-4996

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.