# RUSTSEC-2025-0153: hexchat crate is unsound and unmaintained

- Database: RustSec
- Published: 2025-11-17
- Modified: 2026-02-26

## Also published as

- [GHSA-X43W-PH7M-PFJX](https://cve.now/GHSA-X43W-PH7M-PFJX.md) (GitHub)

## Affected versions

- hexchat (crates.io): all versions

## Description

All versions of this crate have function `deregister_command` which can result in use after free.
This is unsound.

In addition, all versions since 0.3.0 have "safe" macros, which are documented as unsafe to use in threads.

In addition, the `hexchat` crate is no longer actively maintained.  If you rely on this crate, consider switching
to an alternative.

## References

- https://crates.io/crates/hexchat
- https://rustsec.org/advisories/RUSTSEC-2025-0153.html
- https://github.com/pie-flavor/hexchat-rs/issues/3

Page: https://cve.now/RUSTSEC-2025-0153

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