# CVE-2020-36458: Data races in lexer

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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.80%, higher than 57% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-10T12:00:00.000Z
- Modified: 2026-06-17T03:15:32.103Z
- Also known as: GHSA-f997-8gxg-r354, RUSTSEC-2020-0138
- Weaknesses: CWE-77, CWE-362
- Assigned by: mitre

## Description

An issue was discovered in the lexer crate through 2020-11-10 for Rust. For ReaderResult<T, E>, there is an implementation of Sync with a trait bound of T: Send, E: Send.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lexer (crates.io): up to 0.1.16; from 0.0.0-0
- lexer_project lexer: up to 2020-11-10

## Every score

- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- RustSec Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0138.html> (exploit, advisory, issue-tracking, patch, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lexer/RUSTSEC-2020-0138.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36458> (advisory)
- <https://gitlab.com/nathanfaucett/rs-lexer> (package)
- <https://gitlab.com/nathanfaucett/rs-lexer/-/issues/2> (report, web)
- <https://crates.io/crates/lexer> (package)

## Sources

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

---

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