CVE-2007-4767
published 2007-11-07CVE-2007-4767: Perl-Compatible Regular Expression (PCRE) library before 7.3 does not properly compute the length of (1) a \p sequence, (2) a \P sequence, or (3) a \P{x}…
PriorityP427medium5CVSS 2.0
AVNACLAuNCNINAP
EPSS
5.07%
91.4th percentile
Perl-Compatible Regular Expression (PCRE) library before 7.3 does not properly compute the length of (1) a \p sequence, (2) a \P sequence, or (3) a \P{x} sequence, which allows context-dependent attackers to cause a denial of service (infinite loop or crash) or execute arbitrary code.
Affected
5 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.0 | — |
| pcre | pcre | <= 6.1 | — |
| pcre | pcre | <= 7.3 | — |
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.0MEDIUM
vendor_debian5.0LOW
vendor_redhat5.0MEDIUM
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 \p, \P, \P{x] length calculation issue
vendor_redhat·2007-11-05·CVSS 5.0
CVE-2007-4767 [MEDIUM] : pcre < 7.3 \p, \P, \P{x] length calculation issue
: pcre < 7.3 \p, \P, \P{x] length calculation issue
Perl-Compatible Regular Expression (PCRE) library before 7.3 does not properly compute the length of (1) a \p sequence, (2) a \P sequence, or (3) a \P{x} sequence, which allows context-dependent attackers to cause a denial of service (infinite loop or crash) or execute arbitrary code.
Debian
CVE-2007-4767: glib2.0 - Perl-Compatible Regular Expression (PCRE) library before 7.3 does not properly c...
vendor_debian·2007·CVSS 5.0
CVE-2007-4767 [MEDIUM] CVE-2007-4767: glib2.0 - Perl-Compatible Regular Expression (PCRE) library before 7.3 does not properly c...
Perl-Compatible Regular Expression (PCRE) library before 7.3 does not properly compute the length of (1) a \p sequence, (2) a \P sequence, or (3) a \P{x} sequence, which allows context-dependent attackers to cause a denial of service (infinite loop or crash) or 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-9cw9-v886-c24m: Perl-Compatible Regular Expression (PCRE) library before 7
ghsa_unreviewed·2022-05-01
CVE-2007-4767 [MEDIUM] GHSA-9cw9-v886-c24m: Perl-Compatible Regular Expression (PCRE) library before 7
Perl-Compatible Regular Expression (PCRE) library before 7.3 does not properly compute the length of (1) a \p sequence, (2) a \P sequence, or (3) a \P{x} sequence, which allows context-dependent attackers to cause a denial of service (infinite loop or crash) or execute arbitrary code.
OSV
CVE-2007-4767: Perl-Compatible Regular Expression (PCRE) library before 7
osv·2007-11-07·CVSS 5.0
CVE-2007-4767 [MEDIUM] CVE-2007-4767: Perl-Compatible Regular Expression (PCRE) library before 7
Perl-Compatible Regular Expression (PCRE) library before 7.3 does not properly compute the length of (1) a \p sequence, (2) a \P sequence, or (3) a \P{x} sequence, which allows context-dependent attackers to cause a denial of service (infinite loop or crash) or execute arbitrary code.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2007-4767: pcre < 7.3 \p, \P, \P{x] length calculation issue
bugzilla·2007-11-20·CVSS 5.0
CVE-2007-4767 [MEDIUM] CVE-2007-4767: pcre < 7.3 \p, \P, \P{x] length calculation issue
CVE-2007-4767: pcre < 7.3 \p, \P, \P{x] length calculation issue
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-4767
"Perl-Compatible Regular Expression (PCRE) library before 7.3 does not properly
compute the length of (1) a \p sequence, (2) a \P sequence, or (3) a \P{x}
sequence, which allows context-dependent attackers to cause a denial of service
(infinite loop or crash) or execute arbitrary code."
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 provide feedback for this update here: h
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/38277https://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/38277https://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