---
title: 'USN-8118-1: sized-chunks vulnerabilities | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-8118-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-8118-1

---

# USN-8118-1: sized-chunks vulnerabilities

Publication date

23 March 2026

Overview

Several security issues were fixed in sized-chunks.

Releases

[20.04 LTS](https://ubuntu.com/security/notices?release=focal)

---

Open side navigation

## Packages

* [rust-sized-chunks](https://ubuntu.com/security/cves?package=rust-sized-chunks) - Efficient sized chunk datatypes for immutable.rs

## Details

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](https://ubuntu.com/security/CVE-2020-25791), [CVE-2020-25792](https://ubuntu.com/security/CVE-2020-25792), [CVE-2020-25793](https://ubuntu.com/security/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](https://ubuntu.com/security/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...

---

Show more

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 20.04 LTS focal | [librust-sized-chunks-dev](https://launchpad.net/ubuntu/+source/rust-sized-chunks) –  0.3.1-1ubuntu0.1~esm1   Ubuntu Pro | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2020-25796](https://ubuntu.com/security/CVE-2020-25796)
* [CVE-2020-25794](https://ubuntu.com/security/CVE-2020-25794)
* [CVE-2020-25793](https://ubuntu.com/security/CVE-2020-25793)
* [CVE-2020-25792](https://ubuntu.com/security/CVE-2020-25792)
* [CVE-2020-25791](https://ubuntu.com/security/CVE-2020-25791)
