# GHSA-r7cj-wmwv-hfw5: `BinaryArray` does not perform bound checks on reading values and offsets

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-09-14T12:00:00.000Z
- Modified: 2023-11-08T04:22:37.632Z
- Also known as: RUSTSEC-2021-0116

## Description

`BinaryArray` performs insufficient validation on creation, which allows out-of-bounds reads in safe code.

(As written by GitHub Advisory Database.)

## Affected

- arrow (crates.io): before 6.4.0; from 0.0.0-0 before 6.4.0

## References

- <https://github.com/apache/arrow-rs> (package)
- <https://github.com/apache/arrow-rs/blob/6.4.0/CHANGELOG.md#640-2021-12-10> (web)
- <https://rustsec.org/advisories/RUSTSEC-2021-0116.html> (advisory, web)
- <https://crates.io/crates/arrow> (package)
- <https://github.com/apache/arrow-rs/issues/772> (report)
- <https://github.com/apache/arrow-rs/issues/773> (report)

## Sources

- GitHub Advisory Database: [GHSA-r7cj-wmwv-hfw5](https://github.com/advisories/GHSA-r7cj-wmwv-hfw5), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0116](https://rustsec.org/advisories/RUSTSEC-2021-0116.html), CC0-1.0, modified 2023-11-08

---

Page: https://cve.day/GHSA-r7cj-wmwv-hfw5 · Whole record: https://cve.day/GHSA-r7cj-wmwv-hfw5.json · Rebuilt by cve.day 2026-11-25T22:56:43.065Z
