# GHSA-xpp3-xrff-w6rh: rocksdb vulnerable to out-of-bounds read

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-05-11T12:00:00.000Z
- Modified: 2023-11-08T04:24:29.736Z
- Also known as: RUSTSEC-2022-0046

## Description

Affected versions of this crate called the RocksDB C API
`rocksdb_open_column_families_with_ttl()` with a pointer to a single integer
TTL value, but one TTL value for each column family is expected.

This is only relevant when using
`rocksdb::DBWithThreadMode::open_cf_descriptors_with_ttl()` with multiple
column families.

This bug has been fixed in v0.19.0.

(As written by GitHub Advisory Database.)

## Affected

- rocksdb (crates.io): before 0.19.0; from 0.0.0-0 before 0.19.0

## References

- <https://github.com/rust-rocksdb/rust-rocksdb/pull/616> (web)
- <https://github.com/rust-rocksdb/rust-rocksdb> (package)
- <https://github.com/rust-rocksdb/rust-rocksdb/releases/tag/v0.19.0> (web)
- <https://rustsec.org/advisories/RUSTSEC-2022-0046.html> (advisory, web)
- <https://crates.io/crates/rocksdb> (package)

## Sources

- GitHub Advisory Database: [GHSA-xpp3-xrff-w6rh](https://github.com/advisories/GHSA-xpp3-xrff-w6rh), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2022-0046](https://rustsec.org/advisories/RUSTSEC-2022-0046.html), CC0-1.0, modified 2023-11-08

---

Page: https://cve.day/GHSA-xpp3-xrff-w6rh · Whole record: https://cve.day/GHSA-xpp3-xrff-w6rh.json · Rebuilt by cve.day 2026-11-25T22:56:43.106Z
