Vulnerability DatabaseRUSTSEC-2020-0146

RUSTSEC-2020-0146
Rust vulnerability analysis and mitigation

Overview

The generic-array crate before version 0.13.3 for Rust contained a soundness vulnerability identified as RUSTSEC-2020-0146. The vulnerability was related to the unsound extension of lifetimes through the arr! macro, which could silently and incorrectly extend arbitrary lifetimes to 'static (RustSec Advisory).

Technical details

The vulnerability manifested through the arr! macro which incorrectly handled lifetime extensions. When using the macro, it would improperly extend arbitrary lifetimes to 'static without any warning, violating Rust's memory safety guarantees. The issue has a CVSS v3.1 Base Score of 7.5 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD Database).

Impact

The vulnerability could lead to memory safety violations in Rust programs using the generic-array crate. By improperly extending lifetimes, it could potentially cause use-after-free scenarios or other memory-related issues that could affect program stability and security (NVD Database).

Mitigation and workarounds

The vulnerability was fixed in version 0.13.3 of the generic-array crate. Users should upgrade to this version or later to resolve the issue. The fix prevents the unsound lifetime extension behavior in the arr! macro (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-2025-68705HIGH8.8
  • RustRust
  • rustfs
NoYesJan 07, 2026
CVE-2025-69255MEDIUM5.5
  • RustRust
  • rustfs
NoYesJan 07, 2026
GHSA-rhfx-m35p-ff5jLOW2.7
  • RustRust
  • lru
NoYesJan 07, 2026
GHSA-9c48-w39g-hm26LOW2.7
  • RustRust
  • rsa
NoYesJan 06, 2026
RUSTSEC-2026-0002N/AN/A
  • RustRust
  • lru
NoYesJan 07, 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