CVE-2021-25906
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the basic_dsp_matrix crate before version 0.9.2 for Rust, identified as CVE-2021-25906. The vulnerability was reported on January 10, 2021, and officially issued on January 20, 2021. The vulnerability relates to a panic safety issue in the implementation of TransformContent for specific array types (SOURCE).

Technical details

The vulnerability occurs when a TransformContent panic occurs, resulting in a double drop being performed. The issue specifically involves unguarded double drop operations while temporarily duplicating objects' ownership using ptr::read(). When a panic occurs in a user-provided function conversion, objects copied by ptr::read() are dropped twice, leading to memory corruption. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (SOURCE, NVD).

Impact

The vulnerability can lead to memory corruption when exploited, potentially affecting system stability and availability. The CVSS scoring indicates high impact on availability while maintaining no direct impact on confidentiality or integrity (SOURCE).

Exploitability

The vulnerability has network-based attack vector (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) and no user interaction (UI:N) to exploit (SOURCE).

Mitigation and workarounds

The vulnerability has been patched in version 0.9.2 of the basic_dsp_matrix crate. The fix involves using ManuallyDrop to enclose objects that are to be temporarily duplicated, preventing the double drop issue (SOURCE).

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
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
RUSTSEC-2026-0256NONEN/A
  • Rust logoRust
  • circular-buffer
NoYesAug 11, 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