CWE-1077: Floating Point Comparison with Incorrect Operator
The code performs a comparison such as an equality test between two float (floating point) values, but it uses comparison operators that do not account for the possibility of loss of precision.
7 published CVE records name this weakness. Abstraction: Variant. Status: Incomplete. CWE-1077 at MITRE
| CVE | Title | CVSS | EPSS | Published |
|---|---|---|---|---|
| CVE-2025-60496 | A Floating-Point Exception (FPE) in the reframer_send_packet function (/filters/reframer.c) of GPAC Project/MP4Box before 2.5 allows… | 5.5 medium | 0.35% | 20 Oct 2026 |
| CVE-2022-4996 | mruby bigint.c udiv floating point comparison with incorrect operator | 6.9 medium | 0.64% | 19 Aug 2026 |
| CVE-2025-55658 | GPAC MP4Box v2.4 was discovered to contain a floating point exception in the gf_opus_parse_packet_header function (media_tools/av_parsers.c) | 6.5 medium | 0.38% | 9 Jun 2026 |
| CVE-2023-4720 | Floating Point Comparison with Incorrect Operator in gpac/gpac | 4.0 medium | 0.30% | 1 Sep 2023 |
| CVE-2023-32627 | Floating point exception in src/voc.c | 6.2 medium | 0.37% | 10 Jul 2023 |
| CVE-2023-26590 | Floating point exception in src/aiff.c | 6.2 medium | 0.27% | 10 Jul 2023 |
| CVE-2022-4293 | Floating Point Comparison with Incorrect Operator in vim/vim | 6.8 medium | 0.44% | 5 Dec 2022 |