Perl and ActivePerl win32_stat buffer overflow

perl-win32stat-bo (15732) The risk level is classified as HighHigh Risk


Perl and ActivePerl, when running on Microsoft Windows platforms, are vulnerable to a buffer overflow in the win32_stat function. By creating a file with a long filename that ends in a back-slash (\) character, a remote attacker could overflow a buffer and execute arbitrary code on the system.


Gain Access


Download the latest version of Perl (5.8.4 or later), available from the ActiveState Web site. See References.


Apply the appropriate patch for this vulnerability, as listed in the iDEFENSE Security Advisory 04.05.04. See References.


Platforms Affected:

  • ActiveState ActivePerl 5.8
  • ActiveState ActivePerl 5.8.1
  • ActiveState ActivePerl 5.8.3
  • Larry Wall Perl 5.8.0
  • Larry Wall Perl 5.8.1
  • Larry Wall Perl 5.8.3


Apr 05, 2004

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