# CVE-2020-35923: ordered_float:NotNan may contain NaN after panic in assignment operators

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-06T12:00:00.000Z
- Modified: 2026-06-17T03:14:36.853Z
- Also known as: GHSA-566x-hhrf-qf8m, RUSTSEC-2020-0082
- Weaknesses: CWE-416, CWE-460
- Assigned by: mitre

## Description

An issue was discovered in the ordered-float crate before 1.1.1 and 2.x before 2.0.1 for Rust. A NotNan value can contain a NaN.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ordered-float (crates.io): from 2.0.0 before 2.0.1; from 0.2.2 before 1.1.1; from 2.0.0-0 before 2.0.1
- ordered-float_project ordered-float: from 0.2.2 before 1.1.1; from 2.0.0 before 2.0.1

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.9 Medium `AV:L/AC:L/Au:N/C:N/I:N/A:C`

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0082.html> (exploit, advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35923> (advisory)
- <https://github.com/reem/rust-ordered-float/pull/71> (web)
- <https://github.com/reem/rust-ordered-float/commit/c55cda301c943270b7eb2b4765bedbcce56edb90> (web)
- <https://github.com/reem/rust-ordered-float/commit/da4a8dd49300740a434c095a9c4b408d2415cc08> (web)
- <https://github.com/reem/rust-ordered-float> (package)
- <https://crates.io/crates/ordered-float> (package)

## Sources

- CVE List: [CVE-2020-35923](https://www.cve.org/CVERecord?id=CVE-2020-35923), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-566x-hhrf-qf8m](https://github.com/advisories/GHSA-566x-hhrf-qf8m), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0082](https://rustsec.org/advisories/RUSTSEC-2020-0082.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2020-35923](https://nvd.nist.gov/vuln/detail/CVE-2020-35923), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35923 · Whole record: https://cve.day/CVE-2020-35923.json · Rebuilt by cve.day 2026-11-25T22:57:56.658Z
