Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly calculate…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly calculate sizes for unspecified "multiple forms of character class", which triggers a buffer overflow that allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 5 advisories
- RHSA-2008:0546 Released 2008-07-16 · Red Hat rating Moderatephp security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 php-4.1.2-2.20, php-4.1.2-2.20.i386, php-4.1.2-2.20.ia64 +14
- Red Hat Enterprise Linux ES version 2.1 php-4.1.2-2.20, php-4.1.2-2.20.i386, php-devel-4.1.2-2.20.i386 +6
- Red Hat Enterprise Linux WS version 2.1 php-4.1.2-2.20, php-4.1.2-2.20.i386, php-devel-4.1.2-2.20.i386 +6
- Red Hat Linux Advanced Workstation 2.1 php-4.1.2-2.20, php-4.1.2-2.20.ia64, php-devel-4.1.2-2.20.ia64 +6
- RHSA-2007:1065 Released 2007-11-29 · Red Hat rating Moderatepcre security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 pcre-3.4-2.4, pcre-3.4-2.4.i386, pcre-3.4-2.4.ia64 +2
- Red Hat Enterprise Linux ES version 2.1 pcre-3.4-2.4, pcre-3.4-2.4.i386, pcre-devel-3.4-2.4.i386
- Red Hat Enterprise Linux WS version 2.1 pcre-3.4-2.4, pcre-3.4-2.4.i386, pcre-devel-3.4-2.4.i386
- Red Hat Linux Advanced Workstation 2.1 pcre-3.4-2.4, pcre-3.4-2.4.ia64, pcre-devel-3.4-2.4.ia64
- RHSA-2007:1063 Released 2007-11-29 · Red Hat rating Importantpcre security update
- Red Hat Desktop version 3 pcre-3.9-10.4, pcre-3.9-10.4.i386, pcre-devel-3.9-10.4 +1
- Red Hat Enterprise Linux AS version 3 pcre-3.9-10.4, pcre-3.9-10.4.i386, pcre-3.9-10.4.ia64 +5
- Red Hat Enterprise Linux ES version 3 pcre-3.9-10.4, pcre-3.9-10.4.i386, pcre-3.9-10.4.ia64 +3
- Red Hat Enterprise Linux WS version 3 pcre-3.9-10.4, pcre-3.9-10.4.i386, pcre-3.9-10.4.ia64 +3
Show 2 more Red Hat advisories
- RHSA-2007:0968 Released 2007-11-05 · Red Hat rating Criticalpcre security update
- Red Hat Enterprise Linux AS version 4 pcre-4.5-4.el4_5.1, pcre-4.5-4.el4_5.1.i386, pcre-4.5-4.el4_5.1.ia64 +5
- Red Hat Enterprise Linux Desktop version 4 pcre-4.5-4.el4_5.1, pcre-4.5-4.el4_5.1.i386, pcre-devel-4.5-4.el4_5.1 +1
- Red Hat Enterprise Linux ES version 4 pcre-4.5-4.el4_5.1, pcre-4.5-4.el4_5.1.i386, pcre-4.5-4.el4_5.1.ia64 +3
- Red Hat Enterprise Linux WS version 4 pcre-4.5-4.el4_5.1, pcre-4.5-4.el4_5.1.i386, pcre-4.5-4.el4_5.1.ia64 +3
- RHSA-2007:0967 Released 2007-11-05 · Red Hat rating Criticalpcre security update
- Red Hat Enterprise Linux (v. 5 server) pcre-6.6-2.el5_0.1, pcre-6.6-2.el5_0.1.i386, pcre-6.6-2.el5_0.1.ia64 +5
- Red Hat Enterprise Linux Desktop (v. 5 client) pcre-6.6-2.el5_0.1, pcre-6.6-2.el5_0.1.i386
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) pcre-6.6-2.el5_0.1, pcre-devel-6.6-2.el5_0.1, pcre-devel-6.6-2.el5_0.1.i386
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2007:1063 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2007:0967 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2007:1065, RHSA-2008:0546 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2007:1063 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2007:0968 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2007:0967 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2007:0967 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2007:0968 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2007:1065, RHSA-2008:0546 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2007:1063 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2007:0968 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2007:1065, RHSA-2008:0546 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2007:1063 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2007:0968 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2007:1065, RHSA-2008:0546 |
Timeline
- 2026-10-02 Threatist record created from CVE-2007-1660
- 2026-10-03 Alias added: GHSA-v294-5p22-v3ph
References
Patch 1
Advisory 21
Other 14
- ADV-2007-4238
- oval:org.mitre.oval:def:10562
- https://issues.rpath.com/browse/RPL-1738
- ADV-2008-0924
- http://support.avaya.com/elmodocs2/security/ASA-2007-488.htm
- [gtk-devel-list] 20071107 GLib 2.14.3
- ADV-2008-1234
- http://docs.info.apple.com/article.html?artnum=307179
- ADV-2007-3790
- ADV-2007-3725
- http://docs.info.apple.com/article.html?artnum=307562
- https://bugzilla.redhat.com/show_bug.cgi?id=315881
- [Security-announce] 20080415 VMSA-2008-0007 Moderate Updated Service Console packages pcre, net-snmp, and OpenPegasus
- http://bugs.gentoo.org/show_bug.cgi?id=198976
More Pcre vulnerabilities
- TI-2017-11950 In PCRE 8.41, after compiling, a pcretest load test PoC produces a crash overflow in the… CVSS 3.1MEDIUM 5.5
- TI-2015-02839 Heap-based buffer overflow in PCRE 8.34 through 8.37 and PCRE2 10.10 allows remote… CVSS 3.1CRITICAL 9.8
- TI-2016-02677 The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c… CVSS 3.0CRITICAL 9.8
- TI-2016-01176 The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the… CVSS 3.1CRITICAL 9.8
- TI-2015-06911 The pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles certain [… CVSS 3.1CRITICAL 9.8
- TI-2015-04255 Heap-based buffer overflow in the find_fixedlength function in pcre_compile.c in PCRE… CVSS 3.0CRITICAL 9.1
Sources
- CVE-2007-1660 · CVE Program
- CVE-2007-1660 · NVD
- FIRST EPSS
- GHSA-v294-5p22-v3ph · GitHub Advisory Database · CC BY 4.0
- CVE-2007-1660 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences