All reports
Critical

Read of uninitialized memory in cdr

Affected versions

Version ranges need review.

Rust / Cargocdr
Affected versions
>=0.0.0-0 <0.2.4
Fixed version
0.2.4
Rust / Cargocdr
Affected versions
< 0.2.4
Fixed version
0.2.4

Exploitation

CVE-2021-26305

Probability of exploitation in the next 30 days: 1.66%

FIRST EPSS · 2026-11-22

Description

An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated heap memory, violating soundness.

Links

Credits

  • tdunlap607