# CVE-2021-45686: Use of Uninitialized Resource in csv-sniffer.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/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): 1.23%, higher than 69% of CVEs (2026-12-02)
- Published: 2021-01-05T12:00:00.000Z
- Modified: 2026-06-17T04:13:56.827Z
- Also known as: GHSA-9783-42pm-x5jq, GHSA-r67p-m7g9-gxw6, RUSTSEC-2021-0088
- Weaknesses: CWE-908
- Assigned by: mitre

## Description

An issue was discovered in the csv-sniffer crate through 2021-01-05 for Rust. preamble_skipcount may read from uninitialized memory locations.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- csv-sniffer (crates.io): before 0.2.0; from 0.0.0-0 before 0.2.0
- csv-sniffer_project csv-sniffer: 0.0.1; 0.1.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: rating High
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0088.html> (advisory, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/csv-sniffer/RUSTSEC-2021-0088.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45686> (advisory)
- <https://github.com/jblondin/csv-sniffer/issues/1> (report, web)
- <https://github.com/jblondin/csv-sniffer/pull/2> (web)
- <https://github.com/jblondin/csv-sniffer> (package)
- <https://crates.io/crates/csv-sniffer> (package)

## Sources

- CVE List: [CVE-2021-45686](https://www.cve.org/CVERecord?id=CVE-2021-45686), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-9783-42pm-x5jq](https://github.com/advisories/GHSA-9783-42pm-x5jq), CC-BY-4.0, modified 2023-11-08
- GitHub Advisory Database: [GHSA-r67p-m7g9-gxw6](https://github.com/advisories/GHSA-r67p-m7g9-gxw6), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0088](https://rustsec.org/advisories/RUSTSEC-2021-0088.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-45686](https://nvd.nist.gov/vuln/detail/CVE-2021-45686), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45686 · Whole record: https://cve.day/CVE-2021-45686.json · Rebuilt by cve.day 2026-11-25T22:58:06.262Z
