Vulnerability DatabaseRUSTSEC-2020-0050

RUSTSEC-2020-0050
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the dync crate before version 0.5.0 for Rust programming language. The vulnerability, identified as RUSTSEC-2020-0050 (CVE-2020-35903), was reported on September 27, 2020. The vulnerability affects the VecCopy implementation in the dync crate, which allows for misaligned element access due to improper handling of type alignments (RustSec Advisory, NVD).

Technical details

The vulnerability stems from the VecCopy implementation where the backing storage is implemented using u8 (byte) type, but it doesn't properly handle types with different alignment requirements. This can lead to undefined behavior when accessing memory with incorrect alignment. The issue has been assigned a CVSS v3.1 base score of 5.5 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can cause undefined behavior in programs using the dync crate when handling types with specific alignment requirements. This can potentially lead to program crashes or memory access violations. The impact is particularly concerning as it can be triggered through safe Rust code (GitHub Issue).

Exploitability

The vulnerability can be exploited through safe Rust code by instantiating a VecCopy with a type that has different alignment requirements from u8. A proof-of-concept demonstration using a type with 256-byte alignment requirements has been documented (GitHub Issue).

Mitigation and workarounds

The vulnerability was fixed in version 0.5.0 of the dync crate. Users are advised to upgrade to this version or later to address the issue (RustSec Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-46369HIGH7.5
  • Rust logoRust
  • nimiq-blockchain
NoYesAug 12, 2026
GHSA-8rw6-p7m8-63jpMEDIUM6.5
  • Rust logoRust
  • surrealdb
NoYesAug 14, 2026
CVE-2026-73430MEDIUM5.3
  • Rust logoRust
  • russh
NoYesAug 12, 2026
CVE-2026-73429MEDIUM5.3
  • Rust logoRust
  • yazi
NoYesAug 12, 2026
CVE-2026-73489MEDIUM4.3
  • Rust logoRust
  • russh
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management