Floating Point Comparison Flaw in mruby by mruby
CVE-2022-4996

6.9MEDIUM

Key Information:

Vendor

mruby

Status
Vendor
CVE Published:
19 August 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2022-4996?

A vulnerability has been identified in version 3.1.0 of mruby, specifically within the udiv function found in bigint.c. This flaw allows for incorrect operator usage during floating point comparisons, creating potential opportunities for remote attacks. It's crucial for users to apply the necessary patch to mitigate the risk associated with this exploit, which has already been published and poses a threat to the integrity of the system.

Affected Version(s)

mruby 3.1.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

jacky2001114 (VulDB User)
.