CVE-2008-2371: Canonical Ubuntu Linux

High severity, CVSS 7.5. EPSS: 6.7% chance of exploitation in the next 30 days.

Heap-based buffer overflow in pcre_compile.c in the Perl-Compatible Regular Expression (PCRE) library 7.7 allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a regular expression that begins with an option and contains multiple branches.

Affected products

  • Canonical Ubuntu Linux: version 6.06 only; version 7.04 only; version 7.10 only; version 8.04 only; version 9.10 only
  • Debian Debian Linux: version 4.0 only
  • Fedoraproject Fedora: version 8 only; version 9 only
  • Opensuse Opensuse: version 10.3 only
  • Pcre Pcre: version 7.7 only
  • PHP PHP: from 5.2.0, up to and including 5.2.7

Published 2008-07-07. Last modified 2026-06-16.