enum-map
3 known CVEs (1 high), with the versions each affects and the releases that fix them.
- Latest release
- 3.1.0 (Jul 21, 2026): no advisory affects it
- Newest unaffected release
- 3.1.0 (Jul 21, 2026), the latest release
- Downloads on affected versions
- Not known: the downloads can't be split between affected and unaffected versions
Advisories 3
- RUSTSEC-2026-0218`Enum` trait allows type confusion when manually implementedAffected: from 3.0.0-0.gat.0, fixed in 3.1.0.Fixed in 3.1.0 (released Jul 21, 2026, the day of disclosure).The latest release, 3.1.0, is not affected.0.7% of enum-map downloads in the last 90 days were affected versions (111.3K).
- GHSA-RXHX-9FJ6-6H2Menum_map macro can cause UB when `Enum` trait is incorrectly implementedAffected: from 2.0.0-2, fixed in 2.0.2.Fixed in 2.0.2 (released Feb 17, 2022, 119 days before disclosure).The latest release, 3.1.0, is not affected.
- RUSTSEC-2022-0010enum_map macro can cause UB when `Enum` trait is incorrectly implementedAffected: from 2.0.0-2, fixed in 2.0.2.Fixed in 2.0.2 (released Feb 17, 2022, the day of disclosure).The latest release, 3.1.0, is not affected.
Version timeline
- RUSTSEC-2026-0218Affects 3.0.0-0.gat.0 to 3.0.0 (3.1.0 is outside it)
- GHSA-RXHX-9FJ6-6H2MAffects 2.0.0-2 to 2.0.1 (2.0.2 is outside it)
- RUSTSEC-2022-0010Affects 2.0.0-2 to 2.0.1 (2.0.2 is outside it)