Rust advisories / proc-macro-error2
UnmaintainedRUSTSEC-2026-0173 · proc-macro-error2
RUSTSEC-2026-0173: proc-macro-error2 is unmaintained
Short answerNot a bug report: proc-macro-error2 is no longer maintained, so future security issues will not be fixed. The advisory points to proc-macro-error as the replacement.
| Crate | proc-macro-error2 |
|---|---|
| Type | Unmaintained |
| Affected versions | Every version. |
| Fixed in | not applicable (the crate is unmaintained) |
| Severity | not scored |
| Published | 2026-06-07 |
| Last changed | 2026-06-07 |
| Also known as | none |
What to do
- Move to proc-macro-error (our data on it).
- If you cannot move yet, acknowledge it in your audit config so CI stays green while you plan: add
"RUSTSEC-2026-0173"toignorein.cargo/audit.tomlordeny.toml, with a comment saying why. - Find who pulls it in:
cargo tree -i proc-macro-error2.
Details from the advisory
The author of proc-macro-error2 has confirmed that the crate is no longer maintained and recommends that users migrate away from it.
proc-macro-error2 was originally created as a maintained fork of proc-macro-error (see RUSTSEC-2024-0370). Both the original crate and this fork are now unmaintained.
Possible Alternative(s)
References
- Package: crates.io/crates/proc-macro-error2
- Advisory: rustsec.org/advisories/RUSTSEC-2026-0173.html
- Report: github.com/GnomedDev/proc-macro-error-2/issues/17
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Same crateproc-macro-error2: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?