Vulnerabilities

CWE-1077: Floating Point Comparison with Incorrect Operator

Weakness type from the CWE catalogue (version 4.21)

What the weakness means

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.

Definition as published by MITRE, in English.

2 vulnerabilities in the service point to this weakness

  1. CVE-2025-55658 Medium 6.5

    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). bThis vulnerability allows attackers to cause a Denial of…

  2. CVE-2022-4996 Medium 5.5

    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 lau…