# enum-map (crates.io) CVEs

3 known CVEs (1 high), with the versions each affects and the releases that fix them.

## At a glance

- 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
- Weekly downloads: 1.2M
- Dependents: 1
- Releases: 82 since 0.1.0 (May 16, 2017)
- Registry: https://crates.io/crates/enum-map
- Releases read: Nov 16, 2026
- Downloads read: Nov 16, 2026

## Version timeline

Affected versions per advisory, in version order:

- RUSTSEC-2026-0218: 3.0.0-0.gat.0 to 3.0.0 (3.1.0 is outside it)
- GHSA-RXHX-9FJ6-6H2M: 2.0.0-2 to 2.0.1 (2.0.2 is outside it)
- RUSTSEC-2022-0010: 2.0.0-2 to 2.0.1 (2.0.2 is outside it)

## Advisories (3)

### [RUSTSEC-2026-0218](https://cve.now/RUSTSEC-2026-0218): \`Enum\` trait allows type confusion when manually implemented

- Severity: Unrated
- Published: Jul 21, 2026
- Affected: 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-6H2M](https://cve.now/GHSA-RXHX-9FJ6-6H2M): enum\_map macro can cause UB when \`Enum\` trait is incorrectly implemented

- Severity: High
- Published: Jun 16, 2022
- Affected: 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-0010](https://cve.now/RUSTSEC-2022-0010): enum\_map macro can cause UB when \`Enum\` trait is incorrectly implemented

- Severity: Unrated
- Published: Feb 17, 2022
- Affected: 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.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/crates.io/enum-map
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
