# GHSA-h588-76vg-prgj: `DecimalArray` does not perform bound checks on accessing 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:19:51.714Z
- Also known as: RUSTSEC-2021-0117

## Description

`DecimalArray` performs insufficient bounds checks, which allows out-of-bounds reads in safe code if the lenght of the backing buffer is not a multiple of 16.

(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/issues/775> (report, web)
- <https://github.com/apache/arrow-rs> (web)
- <https://rustsec.org/advisories/RUSTSEC-2021-0117.html> (advisory, web)
- <https://crates.io/crates/arrow> (package)

## Sources

- GitHub Advisory Database: [GHSA-h588-76vg-prgj](https://github.com/advisories/GHSA-h588-76vg-prgj), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0117](https://rustsec.org/advisories/RUSTSEC-2021-0117.html), CC0-1.0, modified 2023-11-08

---

Page: https://cve.day/GHSA-h588-76vg-prgj · Whole record: https://cve.day/GHSA-h588-76vg-prgj.json · Rebuilt by cve.day 2026-11-25T22:56:43.066Z
