CVE-2022-4996
Published: August 20th, 2026
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.
MEDIUM
CVSS v3: 5.3
CVSS v3: 5.3
Status
| DocFilters Release | Package | State | Justification | Comment |
|---|---|---|---|---|
| daily | bigint (2010.04.30) | False Positive | Code Not Present | CVE-2022-4996 is a flaw in mruby 3.1.0 (a Ruby interpreter): the udiv function in its mrbgems/mruby-bigint/core/bigint.c performs a floating-point comparison with the wrong operator. The Debian tracker and advisory both name mruby and bigint.c/udiv. Document Filters does not ship mruby. Our vendored ‘bigint’ (external/bigint-2010.04.30/) is an unrelated project — Matt McCutchen’s C++ Big Integer Library (README: http://mattmccutchen.net/bigint/), consisting of C++ files (BigInteger.cc, BigUnsigned.cc, BigIntegerAlgorithms.cc) compiled via external/CMakeLists.txt. There is no bigint.c and no udiv function anywhere in the tree (grep for ‘udiv’ returns nothing). This is a scanner name collision on the generic token ‘bigint’, not a vulnerability in the library we ship. |
| 26.3 | bigint (2010.04.30) | False Positive | Code Not Present | CVE-2022-4996 is a flaw in mruby 3.1.0 (a Ruby interpreter): the udiv function in its mrbgems/mruby-bigint/core/bigint.c performs a floating-point comparison with the wrong operator. The Debian tracker and advisory both name mruby and bigint.c/udiv. Document Filters does not ship mruby. Our vendored ‘bigint’ (external/bigint-2010.04.30/) is an unrelated project — Matt McCutchen’s C++ Big Integer Library (README: http://mattmccutchen.net/bigint/), consisting of C++ files (BigInteger.cc, BigUnsigned.cc, BigIntegerAlgorithms.cc) compiled via external/CMakeLists.txt. There is no bigint.c and no udiv function anywhere in the tree (grep for ‘udiv’ returns nothing). This is a scanner name collision on the generic token ‘bigint’, not a vulnerability in the library we ship. |
Severity score breakdown
Attack Complexity
LOW
Attack Vector
NETWORK
Availability Impact
LOW
Base Score
5.3
Base Severity
MEDIUM
Confidentiality Impact
NONE
Integrity Impact
NONE
Privileges Required
NONE
Scope
UNCHANGED
User Interaction
NONE
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Version
3.1