Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2016-2233 — Step-by-step guide to exploiting a stack-based buffer overflow in HexChat (CVE-2016-2233) with a malicious IRC server, including a patch to fix the vulnerability. | Kitploit
Tools/GitHubGitHub/fath0218/cve-2016-2233
Vulnerability AnalysisExploitationFuzzingPenetration TestingLearning & EducationBinary Exploitation
GitHubfath0218/cve-2016-2233

CVE-2016-2233

Step-by-step guide to exploiting a stack-based buffer overflow in HexChat (CVE-2016-2233) with a malicious IRC server, including a patch to fix the vulnerability.

View Repository
1367 years agoNot yet reviewed
Share

CVE-2016-2233

CVE-2016-2233 is a stack-based buffer overflow vulnerability related with a wide-used IRC software Hexchat. We build a IRC server and launch the attack on it to make all the client connected to the server crash. We exploited our attack on Ubuntu 12.04 using Python. We make a patch to fix the vulnerability and prove it indeed works by various tests.

How to install Hexchat

System Environment: Ubuntu 12.04 seed

Python Version: 2.7.12

To set up the dependencies, the following command should be executed:

sudo apt-get install gnome-common
sudo apt-get install libglib2.0-dev
sudo apt-get update
sudo apt-get install libgtk2.0-dev

Then extract the hexchat-2.10.2.zip file and enter the folder. Install the software using the following commands:

./autogen.sh
./configure
Make
sudo make install

How to Setup IRCD-IRC2 on Server

The following commands are used to install ircd-irc2:

sudo apt install ircd-irc2

After the server is installed, use the following 2 commands to restart NetworkManager, and start the service.

sudo systemctl restart NetworkManager
sudo systemctl restart ircd-irc2

How to Connect to Server

  1. Find HexChat and double click to open
  2. Set up nicknames
  3. Press “Add” to add a network server
  4. Name the server as “CVE Server” and press enter to confirm
  5. Then press “Edit” to set up details such as IP address and Port number of the server
  6. Edit the server in the pop-up window.
  7. Set the IP address to 10.0.2.6, and use default port 6667
  8. Press “Connect” and enter a random name for the channel name
  9. Repeat these steps for the other client and both clients should be in the same channel

How to Exploit Attack

The exploit is run on the server, where the attacker occupies and listens to the port IRC is using, and spoof packets with a large payload to overflow the buffer on client’s side and make clients crash.

1.client make connection to server 2.Stop the IRC service, and restart NetworkManager to enable the change

sudo systemctl kill ircd-irc2
sudo systemctl restart NetworkManager

3.run the attack.py program on server

How to patch

Replace the inbound.c file and reinstall the software using the following commands:

./autogen.sh
./configure
Make
sudo make install
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    786
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    506
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    429
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    345
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    262
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    256

Explore all tools

Browse our collection of tools

View all tools →