All reports
Critical

Use of Uninitialized Resource in csv-sniffer.

Affected versions

Rust / Cargocsv-sniffer
Affected versions
< 0.2.0
Fixed version
0.2.0

Exploitation

CVE-2021-45686

Probability of exploitation in the next 30 days: 1.23%

FIRST EPSS · 2026-11-22

Description

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation (within fn preamble_skipcount()).

Arbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.

Links

Credits

  • J3rry-1729