PHP wordwrap() buffer overflow

php-wordwrap-bo (10944) The risk level is classified as HighHigh Risk


PHP is vulnerable to a buffer overflow in the wordwrap() function. By sending a specially-crafted request to an affected Web server, a remote attacker could overflow a buffer and execute arbitrary code on the server or cause the Web server to crash.


Gain Access


Upgrade to the latest version of PHP (4.3.0 or later), available from the PHP Web site. See References.

For Gentoo Linux:
Upgrade versions dev-php/php-4.2.3 and/or dev-php/mod_php-4.2.3 and earlier, as listed in Gentoo Linux Security Announcement 200301-8. See References.

For Red Hat Linux 8.0:
Upgrade to the latest PHP package (4.2.2-8.0.7 or later), as listed in RHSA-2003:017-06. See References.

For SuSE Linux 8.1 (Intel):
Upgrade to the latest mod_php4 package (4.2.2-168 or later), as listed in SuSE Security Announcement SuSE-SA:2003:0009. See References.

For EnGarde Secure Linux Community Edition:
Upgrade to the latest php or mod_php package (4.2.3-1.0.22 or later), as listed in EnGarde Secure Linux Security Advisory ESA-20030219-003. See References.

For Mandrake Linux 9.0:
Upgrade to the latest php package (4.2.3-1.1mdk or later), as listed in MandrakeSoft Security Advisory MDKSA-2003:019 : php. See References.

For other distributions:
Contact your vendor for upgrade or patch information.


Platforms Affected:

  • EngardeLinux Secure Linux
  • EngardeLinux Secure Professional
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux 2006
  • MandrakeSoft Mandrake Linux 9.0
  • MandrakeSoft Mandrake Linux LE2005
  • MandrakeSoft Mandrake Linux LE2005 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • OpenPKG OpenPKG 1.0
  • OpenPKG OpenPKG 1.1
  • OpenPKG OpenPKG 1.2
  • PHP PHP 4.2.2
  • PHP PHP 4.2.3
  • RedHat Linux 7
  • RedHat Linux 7.1
  • RedHat Linux 7.2
  • RedHat Linux 7.3
  • RedHat Linux 8.0
  • SuSE Linux Enterprise Server 8
  • SUSE SuSE Linux 8.1
  • Turbolinux Turbolinux 8 Server
  • Turbolinux Turbolinux 8 Workstation


Dec 27, 2002

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