CWE-1077: Floating Point Comparison with Incorrect Operator

7 CVEs have CWE-1077 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 0.637%.

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.

Child of CWE-480: Use of Incorrect Operator

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources