CVE-2020-25791 json
Missing release of memory in sized-chunks
published 2020-09-06 6 y ago modified 2026-06-17 4 mo ago also CVE-2020-25792 , CVE-2020-25793 , CVE-2020-25794 , CVE-2020-25795 , CVE-2020-25796 , GHSA-64gv-qg2v-vxv6 , GHSA-9p9m-9xww-qjcx , GHSA-fqpx-cq8x-9wp4 , GHSA-mp6f-p9gp-vpj9 , GHSA-rfgg-vccr-m46m , GHSA-x54v-qxxr-93qc , RUSTSEC-2020-0041 , EUVD-2021-1665
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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().
Patch / fix
- crates.io sized-chunks 0.6.3
- rust-sized-chunks Debian 14, Debian 13, Debian 12 0.6.5-1
debian advisories DEBIAN-CVE-2020-25791
- rust-sized-chunks Ubuntu Pro 20.04 LTS 0.3.1-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2020-25791
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Exploit prediction
1.78% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/bodil/sized-chunks/issues/11 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | sized-chunks | <0.6.3 >=0.0.0-0, <0.6.3 |
0.6.3 |
Classification
References
-
github.com
/bodil/sized-chunks/issues/11
web, exploit, patch, third-party-advisory, report
-
github.com
/bodil/sized-chunks/commit/3ae48bd463c1af41c24b96b84079946f51f51e3c
web
-
github.com
/bodil/sized-chunks/commit/99e593c3037438db478256a1f3101371a69cbd3f
web
-
rustsec.org
/advisories/RUSTSEC-2020-0041.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-25794
advisory
-
github.com
/bodil/sized-chunks
package
-
nvd.nist.gov
/vuln/detail/CVE-2020-25791
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-25795
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-25793
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-25796
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-25792
advisory
-
crates.io
/crates/sized-chunks
package
Sources
- CVE List CVE-2020-25791
- GitHub Advisory GHSA-rfgg-vccr-m46m
- GitHub Advisory GHSA-9p9m-9xww-qjcx
- GitHub Advisory GHSA-x54v-qxxr-93qc
- GitHub Advisory GHSA-64gv-qg2v-vxv6
- GitHub Advisory GHSA-fqpx-cq8x-9wp4
- GitHub Advisory GHSA-mp6f-p9gp-vpj9
- NVD CVE-2020-25791
- OSV RUSTSEC-2020-0041
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.