CVE-2020-25794
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.
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, 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 - 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, clone can have a memory-safety issue upon a panic.
- Record
CVE-2020-25794- Updated
- 2026-11-02
EUVDEUVD-2021-1866 No score
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
EUVD-2021-1866- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-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
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 14 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
OSV
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
OSVCVE-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
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-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
DEBIAN-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
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-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
UBUNTU-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
OSVUSN-8118-1 No score
rust-sized-chunks vulnerabilities
Yechan Bae discovered that sized-chunks did not properly validate array size when constructing Chunk. An attacker could possibly use these issues to cause out-of-bounds access, leading to memory corruption or undefined behavior. (CVE-2020-25791, CVE-2020-25792, CVE-2020-25793)
Yechan Bae discovered that sized-chunks had a memory safety issue in the clone implementation when a panic occurs. An attacker could possibly use this issue to cause improper memory handling, leading to memory corruption or a denial of service. (CVE-2020-25794)
Yechan Bae discovered that sized-chunks could create unaligned references in the InlineArray implementation for types with strict alignment requirements. An attacker could possibly use this issue to cause undefined behavior, leading to memory corruption or a denial of service. (CVE-2020-25796)
- Record
USN-8118-1- 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 |
rust-sized-chunksUbuntu:Pro:20.04:LTS |
before 0.3.1-1ubuntu0.1~esm1, plus listed versions 0.3.1-1 |
0.3.1-1ubuntu0.1~esm1 |
rust-sized-chunksUbuntu:Pro:20.04:LTS From an advisory covering 5 CVEs |
before 0.3.1-1ubuntu0.1~esm1, plus listed versions 0.3.1-1 |
0.3.1-1ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-25794 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.78%, the 78th 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-25794
github.com/advisories/GHSA-rfgg-vccr-m46m
github.com/bodil/sized-chunks/commit/3ae48bd463c1af41c24b96b84079946f51f51e3c
security-tracker.debian.org/tracker/CVE-2020-25794
Show 15 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-25795
crates.io/crates/sized-chunks
ubuntu.com/security/CVE-2020-25794
cve.org/CVERecord?id=CVE-2020-25794
ubuntu.com/security/notices/USN-8118-1
ubuntu.com/security/CVE-2020-25791
ubuntu.com/security/CVE-2020-25792
ubuntu.com/security/CVE-2020-25793
ubuntu.com/security/CVE-2020-25796