CVE-2007-1660
published 2007-11-07CVE-2007-1660: Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly calculate sizes for unspecified "multiple forms of character class", which…
PriorityP429medium6.8CVSS 2.0
AVNACMAuNCPIPAP
EPSS
4.08%
89.6th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | glib2.0 | < glib2.0 2.14.3-1 (bookworm) | glib2.0 2.14.3-1 (bookworm) |
| debian | pcre3 | < glib2.0 2.14.3-1 (bookworm) | glib2.0 2.14.3-1 (bookworm) |
| pcre | pcre | <= 6.9 | — |
CVSS provenance
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv6.8MEDIUM
vendor_debian6.8LOW
vendor_redhat6.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
PCRE vulnerabilities
vendor_ubuntu·2007-11-27
CVE-2007-1662 PCRE vulnerabilities
Title: PCRE vulnerabilities
Summary: PCRE vulnerabilities
Tavis Ormandy and Will Drewry discovered multiple flaws in the regular
expression handling of PCRE. By tricking a user or service into running
specially crafted expressions via applications linked against libpcre3,
a remote attacker could crash the application, monopolize CPU resources,
or possibly execute arbitrary code with the application's privileges.
Instructions: After a standard system upgrade you need to reboot your computer to
effect the necessary changes.
Due to the large internal code changes needed to solve outstanding flaws,
it was not possible to backport all the upstream security fixes to the
earlier released versions. To address this, the pcre3 library has been
updated to the latest stable release (7.4), which in
Red Hat
pcre regular expression flaws
vendor_redhat·2007-11-05·CVSS 6.8
CVE-2007-1660 [MEDIUM] pcre regular expression flaws
pcre regular expression flaws
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.
Debian
CVE-2007-1660: glib2.0 - Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly c...
vendor_debian·2007·CVSS 6.8
CVE-2007-1660 [MEDIUM] CVE-2007-1660: glib2.0 - Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly c...
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.
Scope: local
bookworm: resolved (fixed in 2.14.3-1)
bullseye: resolved (fixed in 2.14.3-1)
forky: resolved (fixed in 2.14.3-1)
sid: resolved (fixed in 2.14.3-1)
trixie: resolved (fixed in 2.14.3-1)
GHSA
GHSA-v294-5p22-v3ph: Perl-Compatible Regular Expression (PCRE) library before 7
ghsa_unreviewed·2022-05-01
CVE-2007-1660 [MEDIUM] CWE-119 GHSA-v294-5p22-v3ph: Perl-Compatible Regular Expression (PCRE) library before 7
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.
OSV
CVE-2007-1660: Perl-Compatible Regular Expression (PCRE) library before 7
osv·2007-11-07·CVSS 6.8
CVE-2007-1660 [MEDIUM] CVE-2007-1660: Perl-Compatible Regular Expression (PCRE) library before 7
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2007-1660 pcre regular expression flaws
bugzilla·2007-10-02·CVSS 6.8
CVE-2007-1660 [MEDIUM] CVE-2007-1660 pcre regular expression flaws
CVE-2007-1660 pcre regular expression flaws
Tavis Ormandy of the Google Security Team reported multiple pcre regular
expressions flaws. Here are the details pasted from Tavis' mail:
CVE-2007-1660:
multiple forms of character class had their sizes miscalculated on
initial passes, resulting in too little memory being allocated, this
was also inadvertently fixed in version 7.0, where the compile phase
was entirely re-engineered (and much improved, from a security
standpoint).
Acknowledgements:
Red Hat would like to thank Tavis Ormandy and Will Drewry for properly disclosing these issues.
Discussion:
Lifting embargo
---
Created attachment 259991
Patch backported to pcre-3.9 in EL3
---
Created attachment 261501
Patch backported to pcre-3.4 in EL2.1
---
This issue was addressed in:
Bugzilla
Multiple PCRE flaws
bugzilla·2007-09-26·CVSS 6.8
CVE-2007-1659 [MEDIUM] Multiple PCRE flaws
Multiple PCRE flaws
Tavis Ormandy of the Google Security Team reported multiple pcre regular
expressions flaws. Here are the details pasted from Tavis' mail:
CVE-2007-1659:
unmatched \Q\E sequences with orphan \E codes can cause the compiled
regex to become desynchronized, resulting in corrupt bytecode that may
result in multiple exploitable conditions. This was inadvertently
fixed by the pcre maintainer in version 7.0, however another case of a
lone \E inside a character class remained, this has been fixed in 7.3
CVE-2007-1660:
multiple forms of character class had their sizes miscalculated on
initial passes, resulting in too little memory being allocated, this
was also inadvertently fixed in version 7.0, where the compile phase
was entirely re-engineered (and much improved, from a sec
http://bugs.gentoo.org/show_bug.cgi?id=198976http://docs.info.apple.com/article.html?artnum=307179http://docs.info.apple.com/article.html?artnum=307562http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.htmlhttp://lists.apple.com/archives/security-announce/2008/Mar/msg00001.htmlhttp://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.htmlhttp://lists.vmware.com/pipermail/security-announce/2008/000014.htmlhttp://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00022.htmlhttp://secunia.com/advisories/27538http://secunia.com/advisories/27543http://secunia.com/advisories/27547http://secunia.com/advisories/27554http://secunia.com/advisories/27598http://secunia.com/advisories/27697http://secunia.com/advisories/27741http://secunia.com/advisories/27773http://secunia.com/advisories/27776http://secunia.com/advisories/27862http://secunia.com/advisories/27965http://secunia.com/advisories/28136http://secunia.com/advisories/28406http://secunia.com/advisories/28414http://secunia.com/advisories/28658http://secunia.com/advisories/28714http://secunia.com/advisories/28720http://secunia.com/advisories/29420http://secunia.com/advisories/29785http://secunia.com/advisories/30106http://secunia.com/advisories/30155http://secunia.com/advisories/30219http://secunia.com/advisories/31124http://security.gentoo.org/glsa/glsa-200711-30.xmlhttp://security.gentoo.org/glsa/glsa-200801-02.xmlhttp://security.gentoo.org/glsa/glsa-200801-18.xmlhttp://security.gentoo.org/glsa/glsa-200801-19.xmlhttp://security.gentoo.org/glsa/glsa-200805-11.xmlhttp://securitytracker.com/id?1018895http://support.avaya.com/elmodocs2/security/ASA-2007-488.htmhttp://www.debian.org/security/2007/dsa-1399http://www.debian.org/security/2008/dsa-1570http://www.mandriva.com/security/advisories?name=MDKSA-2007:211http://www.mandriva.com/security/advisories?name=MDKSA-2007:212http://www.mandriva.com/security/advisories?name=MDKSA-2007:213http://www.novell.com/linux/security/advisories/2007_25_sr.htmlhttp://www.novell.com/linux/security/advisories/2007_62_pcre.htmlhttp://www.redhat.com/support/errata/RHSA-2007-0967.htmlhttp://www.redhat.com/support/errata/RHSA-2007-0968.htmlhttp://www.redhat.com/support/errata/RHSA-2007-1063.htmlhttp://www.redhat.com/support/errata/RHSA-2007-1065.htmlhttp://www.redhat.com/support/errata/RHSA-2008-0546.htmlhttp://www.securityfocus.com/archive/1/483357/100/0/threadedhttp://www.securityfocus.com/archive/1/483579/100/0/threadedhttp://www.securityfocus.com/archive/1/490917/100/0/threadedhttp://www.securityfocus.com/bid/26346http://www.us-cert.gov/cas/techalerts/TA07-352A.htmlhttp://www.vupen.com/english/advisories/2007/3725http://www.vupen.com/english/advisories/2007/3790http://www.vupen.com/english/advisories/2007/4238http://www.vupen.com/english/advisories/2008/0924/referenceshttp://www.vupen.com/english/advisories/2008/1234/referenceshttps://bugzilla.redhat.com/show_bug.cgi?id=315881https://exchange.xforce.ibmcloud.com/vulnerabilities/38273https://issues.rpath.com/browse/RPL-1738https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10562https://usn.ubuntu.com/547-1/http://bugs.gentoo.org/show_bug.cgi?id=198976http://docs.info.apple.com/article.html?artnum=307179http://docs.info.apple.com/article.html?artnum=307562http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.htmlhttp://lists.apple.com/archives/security-announce/2008/Mar/msg00001.htmlhttp://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.htmlhttp://lists.vmware.com/pipermail/security-announce/2008/000014.htmlhttp://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00022.htmlhttp://secunia.com/advisories/27538http://secunia.com/advisories/27543http://secunia.com/advisories/27547http://secunia.com/advisories/27554http://secunia.com/advisories/27598http://secunia.com/advisories/27697http://secunia.com/advisories/27741http://secunia.com/advisories/27773http://secunia.com/advisories/27776http://secunia.com/advisories/27862http://secunia.com/advisories/27965http://secunia.com/advisories/28136http://secunia.com/advisories/28406http://secunia.com/advisories/28414http://secunia.com/advisories/28658http://secunia.com/advisories/28714http://secunia.com/advisories/28720http://secunia.com/advisories/29420http://secunia.com/advisories/29785http://secunia.com/advisories/30106http://secunia.com/advisories/30155http://secunia.com/advisories/30219http://secunia.com/advisories/31124http://security.gentoo.org/glsa/glsa-200711-30.xmlhttp://security.gentoo.org/glsa/glsa-200801-02.xmlhttp://security.gentoo.org/glsa/glsa-200801-18.xmlhttp://security.gentoo.org/glsa/glsa-200801-19.xml
+ 30 more references
2007-11-07
Published