GHSA-x43w-ph7m-pfjx: Hexchat Hexchat Crate Has A Use Vulnerability
HIGHGHSA-x43w-ph7m-pfjx is a HIGH hexchat crate has a use vulnerability (CWE-416: Use After Free) affecting Hexchat libraries in the crates.io ecosystem. The issue involves hexchat crate has a use after free vulnerability. Remediation is available in the latest vendor maintenance releases.
GHSA-x43w-ph7m-pfjx at a Glance
How to Fix GHSA-x43w-ph7m-pfjx
To remediate this vulnerability, upgrade all affected Hexchat dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade hexchat to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for hexchat
How to Check if You Are Affected
To determine whether your application is affected by GHSA-x43w-ph7m-pfjx, inspect your project dependencies for Hexchat:
inspect dependencies for hexchat
Analyze the terminal output to locate any version of Hexchat in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-416: Use After Free, where the product reuses or references memory after it has been freed. at some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. In Hexchat, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-x43w-ph7m-pfjx Affected Hexchat Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
hexchat
|
crates.io |
≤ 0.6.3
|
|
References
Frequently Asked Questions
What is GHSA-x43w-ph7m-pfjx?
Which Hexchat versions are affected?
What version fixes GHSA-x43w-ph7m-pfjx?
Is hexchat affected?
What CWE is associated with GHSA-x43w-ph7m-pfjx?
How can I check crates.io dependencies for GHSA-x43w-ph7m-pfjx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x43w-ph7m-pfjx",
"modified" : "2026-02-25T19:23:47Z",
"published" : "2026-02-25T19:23:47Z",
"aliases" : [ ],
"summary" : "hexchat crate has a Use After Free vulnerability",
"details" : "All versions of this crate have function `deregister_command` which can result in use after free. This is unsound.\n\nIn addition, all versions since 0.3.0 have \"safe\" macros, which are documented as unsafe to use in threads.\n\nIn addition, the `hexchat` crate is no longer actively maintained. If users rely on this crate, consider switching to an alternative.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "hexchat"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.6.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pie-flavor/hexchat-rs/issues/3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pie-flavor/hexchat-rs"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0153.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-416" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-25T19:23:47Z",
"nvd_published_at" : null
}
}