Every CVE Search/ Get API key

CVE-2020-25573

Access of Uninitialized Pointer in linked-hash-map

9.8 CriticalFix available

An issue was discovered in the linked-hash-map crate before 0.5.3 for Rust. It creates an uninitialized NonNull pointer, which violates a non-null constraint.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.83%Up 1.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

An issue was discovered in the linked-hash-map crate before 0.5.3 for Rust. It creates an uninitialized NonNull pointer, which violates a non-null constraint.

Record
CVE-2020-25573
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-824
Updated
2026-11-02
CVE List No score

An issue was discovered in the linked-hash-map crate before 0.5.3 for Rust. It creates an uninitialized NonNull pointer, which violates a non-null constraint.

Record
CVE-2020-25573
Updated
2026-11-02
EUVDEUVD-2021-1854 No score

An issue was discovered in the linked-hash-map crate before 0.5.3 for Rust. It creates an uninitialized NonNull pointer, which violates a non-null constraint.

Record
EUVD-2021-1854
Updated
2026-11-03
GitHub AdvisoriesGHSA-r43h-gmrm-h5c9 9.8

Access of Uninitialized Pointer in linked-hash-map

An issue was discovered in the linked-hash-map crate before 0.5.3 for Rust. It creates an uninitialized NonNull pointer, which violates a non-null constraint.

Record
GHSA-r43h-gmrm-h5c9
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-824
Updated
2026-11-02
OSV 9.8

An issue was discovered in the linked-hash-map crate before 0.5.3 for Rust. It creates an uninitialized NonNull pointer, which violates a non-null constraint.

Record
CVE-2020-25573
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-25573 9.8

An issue was discovered in the linked-hash-map crate before 0.5.3 for Rust. It creates an uninitialized NonNull pointer, which violates a non-null constraint.

Record
DEBIAN-CVE-2020-25573
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-r43h-gmrm-h5c9 9.8

Access of Uninitialized Pointer in linked-hash-map

An issue was discovered in the linked-hash-map crate before 0.5.3 for Rust. It creates an uninitialized NonNull pointer, which violates a non-null constraint.

Record
GHSA-r43h-gmrm-h5c9
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-824
Updated
2026-11-02
OSVRUSTSEC-2020-0026 9.8

linked-hash-map creates uninitialized NonNull pointer

Affected versions of this crate called mem::uninitialized() to create a NonNull<T>, which is undefined behavior.

The flaw was corrected by avoiding the use of mem::uninitialized().

Record
RUSTSEC-2020-0026
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-25573 9.8

An issue was discovered in the linked-hash-map crate before 0.5.3 for Rust. It creates an uninitialized NonNull pointer, which violates a non-null constraint.

Record
UBUNTU-CVE-2020-25573
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
linked-hash-map
crates.io
before 0.5.3
0.5.3
rust-linked-hash-map
Debian:12
before 0.5.4-1
0.5.4-1
rust-linked-hash-map
Debian:13
before 0.5.4-1
0.5.4-1
rust-linked-hash-map
Debian:14
before 0.5.4-1
0.5.4-1
linked-hash-map
crates.io
0.0.0-0 up to 0.5.3
0.5.3
rust-linked-hash-map
Ubuntu:20.04:LTS
All versions, plus listed versions
0.5.1-10.5.2-2
None known
rust-linked-hash-map
Ubuntu:22.04:LTS
All versions, plus listed versions
0.5.4-1
None known
rust-linked-hash-map
Ubuntu:24.04:LTS
All versions, plus listed versions
0.5.6-1
None known
rust-linked-hash-map
Ubuntu:25.10
All versions, plus listed versions
0.5.6-1
None known
rust-linked-hash-map
Ubuntu:26.10
All versions, plus listed versions
0.5.6-2
None known
rust-linked-hash-map
Ubuntu:26.04:LTS
All versions, plus listed versions
0.5.6-10.5.6-2
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-25573 is a critical vulnerability (CVSS 9.8) in Linked-hash-map Project Linked-hash-map, published June 23, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.83%, the 78th percentile. Fixed in linked-hash-map 0.5.3.

References

MoveEnter Open