All reports
Critical

Out of bounds access in compact_arena

Affected versions

Version ranges need review.

Rust / Cargocompact_arena
Affected versions
< 0.4.0
Fixed version
0.4.0
Rust / Cargocompact_arena
Affected versions
>=0.0.0-0 <0.4.0
Fixed version
0.4.0

Exploitation

CVE-2019-16139

Probability of exploitation in the next 30 days: 1.86%

FIRST EPSS · 2026-11-24

Description

Affected versions of this crate did not properly implement the generativity, because the invariant lifetimes were not necessarily dropped.

This allows an attacker to mix up two arenas, using indices created from one arena with another one. This might lead to an out-of-bounds read or write access into the memory reserved for the arena.

The flaw was corrected by implementing generativity correctly in version 0.4.0.

Links