Gentoo Logo

InspIRCd: Arbitrary code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201204-02 / InspIRCd
Release Date April 10, 2012
Latest Revision April 10, 2012: 1
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-irc/inspircd < 2.0.5-r1 >= 2.0.5-r1 All supported architectures

Related bugreports: #409159


A heap-based buffer overflow in InspIRCd may allow execution of arbitrary code.

2.  Impact Information


InspIRCd (Inspire IRCd) is a modular C++ IRC daemon


A vulnerability in InspIRCd allows DNS compression features to control the number of overflowed bytes sent to the heap-based buffer "res[]" in dns.cpp.


A remote attacker could send specially crafted DNS responses, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

3.  Resolution Information


There is no known workaround at this time.


All InspIRCd users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-irc/inspircd-2.0.5-r1"

4.  References


Page updated April 10, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.