CVE-2004-0409

XChat 1.8.0-2.0.8 - Remote Code Execution via Socks-5 Proxy Buffer Overflow

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2004-0409. PoCs published by vade79.

AI-analyzed exploit summary This exploit targets a stack-based buffer overflow in X-Chat versions 1.8.0 to 2.0.8 via malformed SOCKS-5 protocol data. It sends a crafted payload to overwrite the buffer and execute a bind shell, leveraging a fixed offset for reliability.

Description

Stack-based buffer overflow in the Socks-5 proxy code for XChat 1.8.0 to 2.0.8, with socks5 traversal enabled, allows remote attackers to execute arbitrary code.

Exploits (1)

exploitdb WORKING POC VERIFIED
by vade79 · cremotelinux
https://www.exploit-db.com/exploits/296

This exploit targets a stack-based buffer overflow in X-Chat versions 1.8.0 to 2.0.8 via malformed SOCKS-5 protocol data. It sends a crafted payload to overwrite the buffer and execute a bind shell, leveraging a fixed offset for reliability.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: X-Chat v1.8.0 - v2.0.8
No auth needed
Prerequisites: Network access to target · Target using SOCKS-5 proxy · X-Chat configured to autoconnect
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Patch, Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2004-177.html
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2004/dsa-493
Patch, Vendor Advisory x_refsource_confirm
http://www.xchat.org/
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2004-585.html
Third Party Advisory vendor-advisory x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200404-15.xml
Various Sources vendor-advisory x_refsource_fedora
http://www.fedoralegacy.org/updates/FC2/2005-11-14-FLSA_2005_123013
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11312
Patch, Vendor Advisory mailing-list x_refsource_mlist
http://mail.nl.linux.org/xchat-announce/2004-04/msg00000.html

Scores

EPSS 0.0896
EPSS Percentile 94.6%

Details

Status published
Products (29)
xchat/xchat 1.8.0
xchat/xchat 1.8.1
xchat/xchat 1.8.2
xchat/xchat 1.8.3
xchat/xchat 1.8.4
xchat/xchat 1.8.5
xchat/xchat 1.8.6
xchat/xchat 1.8.7
xchat/xchat 1.8.8
xchat/xchat 1.8.9
... and 19 more
Published Jun 01, 2004
Tracked Since Feb 18, 2026