CVE-2022-4996
published medium CVSS 4.0 · 6.9mruby bigint.c udiv floating point comparison with incorrect operator
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | mruby3.1.0 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 5.0 | medium | VulDB · cna | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | mruby | 3.1.0 (affected) | VulDB · cna |
Weaknesses
1- CWE-1077 Floating Point Comparison with Incorrect Operator
References
5- https://huntr.com/bounties/5a5092df-1699-4497-a8b2-38318bce0c4e
- CVE-2022-4996 | CVE Analysis and Report https://vuldb.com/cve/CVE-2022-4996
- Submit #877513 | mruby 3.1.0 Floating Point Exception https://vuldb.com/submit/877513
- VDB-391391 | mruby bigint.c udiv floating point comparison with incorrect operator https://vuldb.com/vuln/391391
- VDB-391391 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/391391/cti
Provider assertions
2VulDB · cna
mruby bigint.c udiv floating point comparison with incorrect operator
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8c21843f9bac081f68a4f04f8af7a6d0fab00fa9ebd9dca5760cb07c43ca123e
- Ingested
- 23 Sep 2026, 08:04:39 UTC
- Source record
- Official CVE record