PCRE character class buffer overflow

pcre-characterclass-bo (40505) The risk level is classified as HighHigh Risk

Description:

The PCRE (Perl Compatible Regular Expressions) library is vulnerable to a buffer overflow, caused by improper bounds checking when processing character classes. By sending an overly long character class containing codepoints larger than 255, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application using the affected library to crash.

Platforms Affected:

  • Apple, Mac OS X 10.4
  • Apple, Mac OS X 10.4.1
  • Apple, Mac OS X 10.4.10
  • Apple, Mac OS X 10.4.11
  • Apple, Mac OS X 10.4.2
  • Apple, Mac OS X 10.4.3
  • Apple, Mac OS X 10.4.4
  • Apple, Mac OS X 10.4.5
  • Apple, Mac OS X 10.4.6
  • Apple, Mac OS X 10.4.7
  • Apple, Mac OS X 10.4.8
  • Apple, Mac OS X 10.4.9
  • Apple, Mac OS X 10.5.4
  • Apple, Mac OS X Server 10.4
  • Apple, Mac OS X Server 10.4.1
  • Apple, Mac OS X Server 10.4.10
  • Apple, Mac OS X Server 10.4.11
  • Apple, Mac OS X Server 10.4.2
  • Apple, Mac OS X Server 10.4.3
  • Apple, Mac OS X Server 10.4.4
  • Apple, Mac OS X Server 10.4.5
  • Apple, Mac OS X Server 10.4.6
  • Apple, Mac OS X Server 10.4.7
  • Apple, Mac OS X Server 10.4.8
  • Apple, Mac OS X Server 10.4.9
  • Apple, Mac OS X Server 10.5
  • Apple, Mac OS X Server 10.5.1
  • Apple, Mac OS X Server 10.5.2
  • Apple, Mac OS X Server 10.5.3
  • Apple, Mac OS X Server 10.5.4
  • Apple, Mac OS X Server 10.5.5
  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 6.10
  • Canonical, Ubuntu 7.04
  • Canonical, Ubuntu 7.10
  • Debian, Debian Linux 3.1
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • MandrakeSoft, Mandrake Linux 2007.1 X86_64
  • MandrakeSoft, Mandrake Linux 2007.1
  • MandrakeSoft, Mandrake Linux 2008.0
  • MandrakeSoft, Mandrake Linux 2008.0 X86_64
  • Philip Hazel, PCRE prior to 7.6

Remedy:

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

For other distributions:
Apply the appropriate upgrade for your system. See References.

Consequences:

Gain Access

References:

Reported:

Jan 28, 2008

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 xforce@iss.net

Return to the main page