Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions crates/hexchat/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "hexchat"
date = "2025-11-17"
url = "https://github.com/pie-flavor/hexchat-rs/issues/3"
categories = ["memory-corruption", "memory-exposure"]
keywords = ["memory-safety"]
informational = "unsound"

[versions]
patched = []
```

# hexchat crate is unsound and unmaintained

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 a recommended alternative.

## Recommended alternatives

- [`hexavalent`](https://crates.io/crates/hexavalent)
Comment on lines +24 to +26
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's drop the recommendation.