Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1077: Floating Point Comparison with Incorrect Operator

Variant Incomplete

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.

Source: MITRE CWE-1077

7 results · Feed

  • Medium 5.5

    A Floating-Point Exception (FPE) in the reframer_send_packet function (/filters/reframer.c) of GPAC Project/MP4Box befo…

  • Medium 5.3

    mruby bigint.c udiv floating point comparison with incorrect operator

    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 …

  • Medium 6.5

    GPAC MP4Box v2.4 was discovered to contain a floating point exception in the gf_opus_parse_packet_header function (medi…

  • Medium 4.0

    Floating Point Comparison with Incorrect Operator in gpac/gpac

    Floating Point Comparison with Incorrect Operator in GitHub repository gpac/gpac prior to 2.3-DEV.

  • Medium 6.2

    Floating point exception in src/voc.c

    A floating point exception vulnerability was found in sox, in the read_samples function at sox/src/voc.c:334:18. This flaw can lead to a denial of service.

  • Medium 6.2

    Floating point exception in src/aiff.c

    A floating point exception vulnerability was found in sox, in the lsx_aiffstartwrite function at sox/src/aiff.c:622:58. This flaw can lead to a denial of service.

  • Medium 6.8

    Floating Point Comparison with Incorrect Operator in vim/vim

    Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.