CVE-2007-4768
published 2007-11-07CVE-2007-4768: Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a…
PriorityP334medium6.8CVSS 2.0
AVNACMAuNCPIPAP
EPSS
4.10%
89.6th percentile
Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a singleton Unicode sequence in a character class in a regex pattern, which is incorrectly optimized.
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.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 before 7.3 incorrect unicode in char class optimization
vendor_redhat·2007-11-05·CVSS 6.8
CVE-2007-4768 [MEDIUM] : pcre before 7.3 incorrect unicode in char class optimization
: pcre before 7.3 incorrect unicode in char class optimization
Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a singleton Unicode sequence in a character class in a regex pattern, which is incorrectly optimized.
Debian
CVE-2007-4768: glib2.0 - Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library ...
vendor_debian·2007·CVSS 6.8
CVE-2007-4768 [MEDIUM] CVE-2007-4768: glib2.0 - Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library ...
Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a singleton Unicode sequence in a character class in a regex pattern, which is incorrectly optimized.
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-jq5c-rgv9-cw8p: Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7
ghsa_unreviewed·2022-05-01
CVE-2007-4768 [MEDIUM] CWE-119 GHSA-jq5c-rgv9-cw8p: Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7
Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a singleton Unicode sequence in a character class in a regex pattern, which is incorrectly optimized.
OSV
CVE-2007-4768: Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7
osv·2007-11-07·CVSS 6.8
CVE-2007-4768 [MEDIUM] CVE-2007-4768: Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7
Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a singleton Unicode sequence in a character class in a regex pattern, which is incorrectly optimized.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2007-4768: pcre before 7.3 incorrect unicode in char class optimization
bugzilla·2007-11-20·CVSS 6.8
CVE-2007-4768 [MEDIUM] CVE-2007-4768: pcre before 7.3 incorrect unicode in char class optimization
CVE-2007-4768: pcre before 7.3 incorrect unicode in char class optimization
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-4768
"Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library
before 7.3 allows context-dependent attackers to execute arbitrary code via a
singleton Unicode sequence in a character class in a regex pattern, which is
incorrectly optimized."
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: http://admin.fedor
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/2007-12/msg00007.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/28136http://secunia.com/advisories/28157http://secunia.com/advisories/28161http://secunia.com/advisories/28213http://secunia.com/advisories/28406http://secunia.com/advisories/28414http://secunia.com/advisories/28570http://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://secunia.com/advisories/30507http://secunia.com/advisories/30840http://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?1019116http://sunsolve.sun.com/search/document.do?assetkey=1-26-238305-1http://sunsolve.sun.com/search/document.do?assetkey=1-26-239286-1http://www.adobe.com/support/security/bulletins/apsb07-20.htmlhttp://www.adobe.com/support/security/bulletins/apsb08-13.htmlhttp://www.debian.org/security/2007/dsa-1399http://www.debian.org/security/2008/dsa-1570http://www.gentoo.org/security/en/glsa/glsa-200801-07.xmlhttp://www.mandriva.com/security/advisories?name=MDKSA-2007:211http://www.redhat.com/support/errata/RHSA-2007-1126.htmlhttp://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.us-cert.gov/cas/techalerts/TA07-355A.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/2007/4258http://www.vupen.com/english/advisories/2008/0924/referenceshttp://www.vupen.com/english/advisories/2008/1724/referenceshttp://www.vupen.com/english/advisories/2008/1966/referenceshttps://exchange.xforce.ibmcloud.com/vulnerabilities/38278https://issues.rpath.com/browse/RPL-1738https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9701https://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://lists.opensuse.org/opensuse-security-announce/2007-12/msg00007.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/28136http://secunia.com/advisories/28157http://secunia.com/advisories/28161http://secunia.com/advisories/28213http://secunia.com/advisories/28406http://secunia.com/advisories/28414http://secunia.com/advisories/28570http://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://secunia.com/advisories/30507http://secunia.com/advisories/30840http://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?1019116http://sunsolve.sun.com/search/document.do?assetkey=1-26-238305-1http://sunsolve.sun.com/search/document.do?assetkey=1-26-239286-1http://www.adobe.com/support/security/bulletins/apsb07-20.htmlhttp://www.adobe.com/support/security/bulletins/apsb08-13.htmlhttp://www.debian.org/security/2007/dsa-1399http://www.debian.org/security/2008/dsa-1570
+ 20 more references
2007-11-07
Published