# GHSA-X43W-PH7M-PFJX: hexchat crate has a Use After Free vulnerability

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-02-25
- Modified: 2026-02-26

## Also published as

- [RUSTSEC-2025-0153](https://cve.now/RUSTSEC-2025-0153.md) (RustSec)

## Affected versions

- hexchat (crates.io): through 0.6.3

## 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 users rely on this crate, consider switching to an alternative.

## References

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

Page: https://cve.now/GHSA-X43W-PH7M-PFJX

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