Nagios Content-Length integer overflow

nagios-contentlength-overflow (26454) The risk level is classified as HighHigh Risk


Nagios is vulnerable to an integer overflow, caused by improper bounds checking by the Content-Length HTTP header. By sending a HTTP request containing a specially-crafted value in the Content-Length header, a remote attacker could cause an integer overflow and execute arbitrary code on the system or cause the system to crash.


Gain Access


Upgrade to the latest version of Nagios (1.4.1 or later) or (2.3.1 or later), available from the Nagios Web site. See References.


  • Nagios Web site: Nagios: Changelog.
  • BID-18059: Nagios Remote Content-Length Integer Overflow Vulnerability
  • CVE-2006-2489: Integer overflow in CGI scripts in Nagios 1.x before 1.4.1 and 2.x before 2.3.1 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a content length (Content-Length) HTTP header. NOTE: this is a different vulnerability than CVE-2006-2162.
  • DSA-1072: nagios -- buffer overflow
  • GLSA-200605-07: Nagios: Buffer overflow
  • SA20123: Nagios Content-Length Integer Overflow Vulnerability
  • USN-287-1: nagios vulnerability

Platforms Affected:

  • Canonical Ubuntu 5.04
  • Canonical Ubuntu 5.10
  • Debian Debian Linux 3.1
  • Gentoo Linux
  • Nagios Nagios prior to 1.4.1
  • Nagios Nagios prior to 2.3.1


May 15, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page