grpck long command line argument buffer overflow

grpck-command-line-bo (7857) The risk level is classified as HighHigh Risk


The grpck program is vulnerable to a buffer overflow in the handling of command line arguments. By sending a string containing 3000 bytes or more to the grpck utility, a local attacker can overflow a buffer and execute arbitrary code on the system with root privileges.


Gain Privileges


No remedy available as of September 1, 2014.


  • VulnWatch Mailing List, Wed Jan 02 2002 - 03:25:51 CST: [VulnWatch] blackshell3: multiple pwck/grpck vulnerabilities. (From Neohapsis archive)
  • CVE-2002-1594: Buffer overflow in (1) grpck and (2) pwck, if installed setuid on a system as recommended in some AIX documentation, may allow local users to gain privileges via a long command line argument.
  • US-CERT VU#121891: Buffer overflow vulnerability in grpck command line utility
  • US-CERT VU#877811: Buffer overflow vulnerability in pwck command line utility

Platforms Affected:

  • Various vendors grpck


Jan 02, 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