Integer overflow in Perl-Compatible Regular Expression (PCRE) library before 6.7 might…
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-189 and the CVSS impact.
Summary
Integer overflow in Perl-Compatible Regular Expression (PCRE) library before 6.7 might allow context-dependent attackers to execute arbitrary code via a regular expression that involves large (1) min, (2) max, or (3) duplength values that cause an incorrect length calculation and trigger a buffer overflow, a different vulnerability than CVE-2006-7227. NOTE: this issue was originally subsumed by CVE-2006-7224, but that CVE has been REJECTED and split.
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 7 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:1076 Released 2007-12-10 · Red Hat rating Moderatepython security update
- Red Hat Desktop version 3 python-2.2.3-6.8, python-2.2.3-6.8.i386, python-devel-2.2.3-6.8 +5
- Red Hat Enterprise Linux AS version 3 python-2.2.3-6.8, python-2.2.3-6.8.i386, python-2.2.3-6.8.ia64 +13
- Red Hat Enterprise Linux AS version 4 python-2.3.4-14.4.el4_6.1, python-2.3.4-14.4.el4_6.1.i386, python-2.3.4-14.4.el4_6.1.ia64 +17
- Red Hat Enterprise Linux Desktop version 4 python-2.3.4-14.4.el4_6.1, python-2.3.4-14.4.el4_6.1.i386, python-devel-2.3.4-14.4.el4_6.1 +7
- Red Hat Enterprise Linux ES version 3 python-2.2.3-6.8, python-2.2.3-6.8.i386, python-2.2.3-6.8.ia64 +9
- Red Hat Enterprise Linux ES version 4 python-2.3.4-14.4.el4_6.1, python-2.3.4-14.4.el4_6.1.i386, python-2.3.4-14.4.el4_6.1.ia64 +12
- Red Hat Enterprise Linux WS version 3 python-2.2.3-6.8, python-2.2.3-6.8.i386, python-2.2.3-6.8.ia64 +9
- Red Hat Enterprise Linux WS version 4 python-2.3.4-14.4.el4_6.1, python-2.3.4-14.4.el4_6.1.i386, python-2.3.4-14.4.el4_6.1.ia64 +12
- RHSA-2007:1077 Released 2007-12-10 · Red Hat rating Moderatepython security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 python-1.5.2-43.72.2, python-1.5.2-43.72.2.i386, python-1.5.2-43.72.2.ia64 +8
- Red Hat Enterprise Linux ES version 2.1 python-1.5.2-43.72.2, python-1.5.2-43.72.2.i386, python-devel-1.5.2-43.72.2.i386 +3
- Red Hat Enterprise Linux WS version 2.1 python-1.5.2-43.72.2, python-1.5.2-43.72.2.i386, python-devel-1.5.2-43.72.2.i386 +3
- Red Hat Linux Advanced Workstation 2.1 python-1.5.2-43.72.2, python-1.5.2-43.72.2.ia64, python-devel-1.5.2-43.72.2.ia64 +3
Show 4 more Red Hat advisories
- RHSA-2007:1068 Released 2007-11-29 · Red Hat rating Importantpcre security update
- Red Hat Enterprise Linux AS version 4 pcre-4.5-4.el4_6.6, pcre-4.5-4.el4_6.6.i386, pcre-4.5-4.el4_6.6.ia64 +5
- Red Hat Enterprise Linux Desktop version 4 pcre-4.5-4.el4_6.6, pcre-4.5-4.el4_6.6.i386, pcre-devel-4.5-4.el4_6.6 +1
- Red Hat Enterprise Linux ES version 4 pcre-4.5-4.el4_6.6, pcre-4.5-4.el4_6.6.i386, pcre-4.5-4.el4_6.6.ia64 +3
- Red Hat Enterprise Linux WS version 4 pcre-4.5-4.el4_6.6, pcre-4.5-4.el4_6.6.i386, pcre-4.5-4.el4_6.6.ia64 +3
- 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
- RHSA-2007:1059 Released 2007-11-29 · Red Hat rating Importantpcre security update
- Red Hat Enterprise Linux (v. 5 server) pcre-6.6-2.el5_1.7, pcre-6.6-2.el5_1.7.i386, pcre-6.6-2.el5_1.7.ia64 +5
- Red Hat Enterprise Linux Desktop (v. 5 client) pcre-6.6-2.el5_1.7, pcre-6.6-2.el5_1.7.i386
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) pcre-6.6-2.el5_1.7, pcre-devel-6.6-2.el5_1.7, pcre-devel-6.6-2.el5_1.7.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, RHSA-2007:1076 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2007:1059 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2007:1065, RHSA-2007:1077, RHSA-2008:0546 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2007:1063, RHSA-2007:1076 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2007:1068, RHSA-2007:1076 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2007:1059 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2007:1059 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2007:1068, RHSA-2007:1076 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2007:1065, RHSA-2007:1077, RHSA-2008:0546 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2007:1063, RHSA-2007:1076 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2007:1068, RHSA-2007:1076 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2007:1065, RHSA-2007:1077, RHSA-2008:0546 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2007:1063, RHSA-2007:1076 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2007:1068, RHSA-2007:1076 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2007:1065, RHSA-2007:1077, RHSA-2008:0546 |
Timeline
- 2026-10-02 Threatist record created from CVE-2006-7228
- 2026-10-03 Alias added: GHSA-hw27-4fxg-c8f3
References
Advisory 18
Other 10
- https://bugzilla.redhat.com/show_bug.cgi?id=383371
- [Security-announce] 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates
- http://support.avaya.com/elmodocs2/security/ASA-2007-505.htm
- ADV-2008-0637
- ADV-2008-1234
- oval:org.mitre.oval:def:10810
- http://www.pcre.org/changelog.txt
- [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
- http://scary.beasts.org/security/CESA-2007-006.html
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-2006-7228 · CVE Program
- CVE-2006-7228 · NVD
- FIRST EPSS
- GHSA-hw27-4fxg-c8f3 · GitHub Advisory Database · CC BY 4.0
- CVE-2006-7228 · 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