CVE-2020-25795
Missing release of memory in sized-chunks
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, insert_from can have a memory-safety issue upon a panic.
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
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, insert_from can have a memory-safety issue upon a panic.
- Record
CVE-2020-25795- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-401
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, insert_from can have a memory-safety issue upon a panic.
- Record
CVE-2020-25795- Updated
- 2026-11-02
EUVDEUVD-2021-1928 No score
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, insert_from can have a memory-safety issue upon a panic.
- Record
EUVD-2021-1928- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x54v-qxxr-93qc
7.5
Missing release of memory in sized-chunks
Chunk:
- Array size is not checked when constructed with unit() and pair().
- Array size is not checked when constructed with From<InlineArray<A, T>>.
- Clone and insert_from are not panic-safe; A panicking iterator causes memory safety issues with them.
InlineArray:
- Generates unaligned references for types with a large alignment requirement.
- Record
GHSA-x54v-qxxr-93qc- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-401
- Updated
- 2026-11-02
OSVCVE-2020-25791
7.5
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with unit().
- Record
CVE-2020-25791- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCVE-2020-25792
7.5
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with pair().
- Record
CVE-2020-25792- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 13 moreShow less
OSVCVE-2020-25793
7.5
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with From<InlineArray<A, T>>.
- Record
CVE-2020-25793- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCVE-2020-25794
7.5
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, clone can have a memory-safety issue upon a panic.
- Record
CVE-2020-25794- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, insert_from can have a memory-safety issue upon a panic.
- Record
CVE-2020-25795- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCVE-2020-25796
7.5
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the InlineArray implementation, an unaligned reference may be generated for a type that has a large alignment requirement.
- Record
CVE-2020-25796- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-25795
7.5
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, insert_from can have a memory-safety issue upon a panic.
- Record
DEBIAN-CVE-2020-25795- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-64gv-qg2v-vxv6
7.5
Array size is not checked in sized-chunks
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with From<InlineArray<A, T>>.
- Record
GHSA-64gv-qg2v-vxv6- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-129
- Updated
- 2026-11-02
OSVGHSA-9p9m-9xww-qjcx
7.5
Array size is not checked in sized-chunks
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with unit().
- Record
GHSA-9p9m-9xww-qjcx- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-129
- Updated
- 2026-11-02
OSVGHSA-fqpx-cq8x-9wp4
7.5
Unaligned references in sized-chunks
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the InlineArray implementation, an unaligned reference may be generated for a type that has a large alignment requirement.
- Record
GHSA-fqpx-cq8x-9wp4- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-129
- Updated
- 2026-11-02
OSVGHSA-mp6f-p9gp-vpj9
7.5
Array size is not checked in sized-chunks
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, the array size is not checked when constructed with pair().
- Record
GHSA-mp6f-p9gp-vpj9- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-129
- Updated
- 2026-11-02
OSVGHSA-rfgg-vccr-m46m
7.5
Missing release of memory in sized-chunks
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, clone can have a memory-safety issue upon a panic.
- Record
GHSA-rfgg-vccr-m46m- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-401
- Updated
- 2026-11-02
OSVGHSA-x54v-qxxr-93qc
7.5
Missing release of memory in sized-chunks
Chunk:
- Array size is not checked when constructed with unit() and pair().
- Array size is not checked when constructed with From<InlineArray<A, T>>.
- Clone and insert_from are not panic-safe; A panicking iterator causes memory safety issues with them.
InlineArray:
- Generates unaligned references for types with a large alignment requirement.
- Record
GHSA-x54v-qxxr-93qc- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-401
- Updated
- 2026-11-02
OSVRUSTSEC-2020-0041
7.5
Multiple soundness issues in Chunk and InlineArray
Chunk:
- Array size is not checked when constructed with
unit()andpair(). - Array size is not checked when constructed with
From<InlineArray<A, T>>. Cloneandinsert_fromare not panic-safe; A panicking iterator causes memory safety issues with them.
InlineArray:
- Generates unaligned references for types with a large alignment requirement.
- Record
RUSTSEC-2020-0041- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-25795
7.5
An issue was discovered in the sized-chunks crate through 0.6.2 for Rust. In the Chunk implementation, insert_from can have a memory-safety issue upon a panic.
- Record
UBUNTU-CVE-2020-25795- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sized-chunkscrates.io |
before 0.6.3 | 0.6.3 |
rust-sized-chunksDebian:12 |
before 0.6.5-1 | 0.6.5-1 |
rust-sized-chunksDebian:13 |
before 0.6.5-1 | 0.6.5-1 |
rust-sized-chunksDebian:14 |
before 0.6.5-1 | 0.6.5-1 |
sized-chunkscrates.io From an advisory covering 6 CVEs |
before 0.6.3 | 0.6.3 |
sized-chunkscrates.io From an advisory covering 6 CVEs |
0.0.0-0 up to 0.6.3 | 0.6.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| 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-25795 is a high vulnerability (CVSS 7.5) in Sized-chunks Project Sized-chunks, published September 6, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.73%, the 77th percentile. Fixed in sized-chunks 0.6.3.
References
rustsec.org/advisories/RUSTSEC-2020-0041.html
github.com/bodil/sized-chunks/issues/11
nvd.nist.gov/vuln/detail/CVE-2020-25795
github.com/advisories/GHSA-x54v-qxxr-93qc
github.com/bodil/sized-chunks/commit/3ae48bd463c1af41c24b96b84079946f51f51e3c
security-tracker.debian.org/tracker/CVE-2020-25795
Show 10 moreShow less
nvd.nist.gov/vuln/detail/CVE-2020-25793
github.com/bodil/sized-chunks
nvd.nist.gov/vuln/detail/CVE-2020-25791
nvd.nist.gov/vuln/detail/CVE-2020-25796
nvd.nist.gov/vuln/detail/CVE-2020-25792
github.com/bodil/sized-chunks/commit/99e593c3037438db478256a1f3101371a69cbd3f
nvd.nist.gov/vuln/detail/CVE-2020-25794
crates.io/crates/sized-chunks
ubuntu.com/security/CVE-2020-25795
cve.org/CVERecord?id=CVE-2020-25795