CVE-2020-25573
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.
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
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 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
linked-hash-mapcrates.io |
before 0.5.3 | 0.5.3 |
rust-linked-hash-mapDebian:12 |
before 0.5.4-1 | 0.5.4-1 |
rust-linked-hash-mapDebian:13 |
before 0.5.4-1 | 0.5.4-1 |
rust-linked-hash-mapDebian:14 |
before 0.5.4-1 | 0.5.4-1 |
linked-hash-mapcrates.io |
0.0.0-0 up to 0.5.3 | 0.5.3 |
rust-linked-hash-mapUbuntu:20.04:LTS |
All versions, plus listed versions 0.5.1-10.5.2-2 |
None known |
rust-linked-hash-mapUbuntu:22.04:LTS |
All versions, plus listed versions 0.5.4-1 |
None known |
rust-linked-hash-mapUbuntu:24.04:LTS |
All versions, plus listed versions 0.5.6-1 |
None known |
rust-linked-hash-mapUbuntu:25.10 |
All versions, plus listed versions 0.5.6-1 |
None known |
rust-linked-hash-mapUbuntu:26.10 |
All versions, plus listed versions 0.5.6-2 |
None known |
rust-linked-hash-mapUbuntu:26.04:LTS |
All versions, plus listed versions 0.5.6-10.5.6-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
rustsec.org/advisories/RUSTSEC-2020-0026.html
github.com/contain-rs/linked-hash-map/pull/100
nvd.nist.gov/vuln/detail/CVE-2020-25573
github.com/advisories/GHSA-r43h-gmrm-h5c9
security-tracker.debian.org/tracker/CVE-2020-25573
github.com/contain-rs/linked-hash-map
crates.io/crates/linked-hash-map
ubuntu.com/security/CVE-2020-25573
cve.org/CVERecord?id=CVE-2020-25573