Skip to content
Fencer Vulns
high 7.5

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

Weakness
  • CWE-129 Improper Validation of Array Index
  • CWE-401 Missing Release of Memory after Effective Lifetime

References

Sources

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.