Vulnerability · Published Aug 19, 2026 · Assigned by VulDB

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

Medium 5.3

In plain English

A medium-severity security flaw in mruby. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.6%top 49.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSmrubyno fix listedUBUNTU-CVE-2022-4996
Ubuntu:24.04:LTSmrubyno fix listedUBUNTU-CVE-2022-4996
Ubuntu:26.04:LTSmrubyno fix listedUBUNTU-CVE-2022-4996
Ubuntu:26.10mrubyno fix listedUBUNTU-CVE-2022-4996

Affected products (as reported)

VendorProductVersions
n/a mruby 3.1.0

Weakness: CWE-1077 · Vector: 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

References