# GHSA-x43w-ph7m-pfjx: hexchat crate has a Use After Free vulnerability

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-11-17T12:00:00.000Z
- Modified: 2026-02-26T06:26:18.675Z
- Also known as: RUSTSEC-2025-0153
- Weaknesses: CWE-416

## 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.

(As written by GitHub Advisory Database.)

## Affected

- hexchat (crates.io): up to 0.6.3; from 0.0.0-0

## References

- <https://github.com/pie-flavor/hexchat-rs/issues/3> (report, web)
- <https://github.com/pie-flavor/hexchat-rs> (package)
- <https://rustsec.org/advisories/RUSTSEC-2025-0153.html> (advisory, web)
- <https://crates.io/crates/hexchat> (package)

## Sources

- GitHub Advisory Database: [GHSA-x43w-ph7m-pfjx](https://github.com/advisories/GHSA-x43w-ph7m-pfjx), CC-BY-4.0, modified 2026-02-26
- RustSec Advisory Database: [RUSTSEC-2025-0153](https://rustsec.org/advisories/RUSTSEC-2025-0153.html), CC0-1.0, modified 2026-02-26

---

Page: https://cve.day/GHSA-x43w-ph7m-pfjx · Whole record: https://cve.day/GHSA-x43w-ph7m-pfjx.json · Rebuilt by cve.day 2026-11-25T22:56:43.292Z
