CVE-2007-1661
published 2007-11-07CVE-2007-1661: Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8…
PriorityP422medium6.4CVSS 2.0
AVNACLAuNCPINAP
EPSS
2.49%
82.9th percentile
Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the "\X?\d" and "\P{L}?\d" patterns.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | mac_os_x | — | — |
| apple | mac_os_x_server | — | — |
| 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 | perl-compatible_regular_expression_library | <= 7.2 | — |
| pcre | perl-compatible_regular_expression_library | — | — |
| pcre | perl-compatible_regular_expression_library | — | — |
CVSS provenance
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv6.4MEDIUM
vendor_debian6.4LOW
vendor_redhat6.4MEDIUM
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 < 7.3 non-UTF-8 over-backtracking issue
vendor_redhat·2007-11-05·CVSS 6.4
CVE-2007-1661 [MEDIUM] : pcre < 7.3 non-UTF-8 over-backtracking issue
: pcre < 7.3 non-UTF-8 over-backtracking issue
Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the "\X?\d" and "\P{L}?\d" patterns.
Debian
CVE-2007-1661: glib2.0 - Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far ...
vendor_debian·2007·CVSS 6.4
CVE-2007-1661 [MEDIUM] CVE-2007-1661: glib2.0 - Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far ...
Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the "\X?\d" and "\P{L}?\d" patterns.
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-759q-4q8w-5gfh: Perl-Compatible Regular Expression (PCRE) library before 7
ghsa_unreviewed·2022-05-01
CVE-2007-1661 [MEDIUM] GHSA-759q-4q8w-5gfh: Perl-Compatible Regular Expression (PCRE) library before 7
Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the "\X?\d" and "\P{L}?\d" patterns.
OSV
CVE-2007-1661: Perl-Compatible Regular Expression (PCRE) library before 7
osv·2007-11-07·CVSS 6.4
CVE-2007-1661 [MEDIUM] CVE-2007-1661: Perl-Compatible Regular Expression (PCRE) library before 7
Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the "\X?\d" and "\P{L}?\d" patterns.
No detection rules found.
Bugzilla
CVE-2007-1661: pcre < 7.3 non-UTF-8 over-backtracking issue
bugzilla·2007-11-20·CVSS 6.4
CVE-2007-1661 [MEDIUM] CVE-2007-1661: pcre < 7.3 non-UTF-8 over-backtracking issue
CVE-2007-1661: pcre < 7.3 non-UTF-8 over-backtracking issue
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-1661
"Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far
when matching certain input bytes against some regex patterns in non-UTF-8 mode,
which allows context-dependent attackers to obtain sensitive information or
cause a denial of service (crash), as demonstrated by the "\X?\d" and "\P{L}?\d"
patterns."
F7 ships pcre 7.0.
Discussion:
pcre-7.3-3.fc7 has been submitted as an update for Fedora 7
---
pcre-7.3-3.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update pcre'. You can pro
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://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00022.htmlhttp://secunia.com/advisories/27538http://secunia.com/advisories/27543http://secunia.com/advisories/27554http://secunia.com/advisories/27697http://secunia.com/advisories/27741http://secunia.com/advisories/27773http://secunia.com/advisories/28136http://secunia.com/advisories/28406http://secunia.com/advisories/28414http://secunia.com/advisories/28714http://secunia.com/advisories/28720http://secunia.com/advisories/29267http://secunia.com/advisories/29420http://secunia.com/advisories/30106http://secunia.com/advisories/30155http://secunia.com/advisories/30219http://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://www.debian.org/security/2007/dsa-1399http://www.debian.org/security/2008/dsa-1570http://www.mandriva.com/security/advisories?name=MDKSA-2007:211http://www.novell.com/linux/security/advisories/2007_62_pcre.htmlhttp://www.pcre.org/changelog.txthttp://www.securityfocus.com/archive/1/483357/100/0/threadedhttp://www.securityfocus.com/archive/1/483579/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/referenceshttps://exchange.xforce.ibmcloud.com/vulnerabilities/38274https://issues.rpath.com/browse/RPL-1738https://usn.ubuntu.com/547-1/https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00181.htmlhttp://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://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00022.htmlhttp://secunia.com/advisories/27538http://secunia.com/advisories/27543http://secunia.com/advisories/27554http://secunia.com/advisories/27697http://secunia.com/advisories/27741http://secunia.com/advisories/27773http://secunia.com/advisories/28136http://secunia.com/advisories/28406http://secunia.com/advisories/28414http://secunia.com/advisories/28714http://secunia.com/advisories/28720http://secunia.com/advisories/29267http://secunia.com/advisories/29420http://secunia.com/advisories/30106http://secunia.com/advisories/30155http://secunia.com/advisories/30219http://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://www.debian.org/security/2007/dsa-1399http://www.debian.org/security/2008/dsa-1570http://www.mandriva.com/security/advisories?name=MDKSA-2007:211http://www.novell.com/linux/security/advisories/2007_62_pcre.htmlhttp://www.pcre.org/changelog.txthttp://www.securityfocus.com/archive/1/483357/100/0/threadedhttp://www.securityfocus.com/archive/1/483579/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/referenceshttps://exchange.xforce.ibmcloud.com/vulnerabilities/38274https://issues.rpath.com/browse/RPL-1738https://usn.ubuntu.com/547-1/https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00181.html
2007-11-07
Published