CVE-2014-8964
published 2014-12-16CVE-2014-8964: Heap-based buffer overflow in PCRE 8.36 and earlier allows remote attackers to cause a denial of service (crash) or have other unspecified impact via a crafted…
PriorityP431medium5CVSS 2.0
AVNACLAuNCNINAP
EPSS
6.50%
93.0th percentile
Heap-based buffer overflow in PCRE 8.36 and earlier allows remote attackers to cause a denial of service (crash) or have other unspecified impact via a crafted regular expression, related to an assertion that allows zero repeats.
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | pcre3 | < pcre3 2:8.35-3.3 (bookworm) | pcre3 2:8.35-3.3 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| mariadb | mariadb | >= 10.0.0 < 10.0.18 | 10.0.18 |
| opensuse | opensuse | — | — |
| opensuse | opensuse | — | — |
| oracle | solaris | — | — |
| pcre | pcre | <= 8.36 | — |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.0MEDIUM
vendor_debian5.0MEDIUM
vendor_redhat5.0MEDIUM
vendor_ubuntu5.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·2015-07-29·CVSS 5.0
CVE-2014-8964 [MEDIUM] PCRE vulnerabilities
Title: PCRE vulnerabilities
Summary: PCRE could be made to crash or run programs if it processed a
specially-crafted regular expression.
Michele Spagnuolo discovered that PCRE incorrectly handled certain regular
expressions. A remote attacker could use this issue to cause applications
using PCRE to crash, resulting in a denial of service, or possibly execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-8964)
Kai Lu discovered that PCRE incorrectly handled certain regular
expressions. A remote attacker could use this issue to cause applications
using PCRE to crash, resulting in a denial of service, or possibly execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS and Ubuntu 15.04.
(CVE-2015-2325, CVE-2015-2326)
Wen Guanxing discovered that PCRE incorr
Red Hat
pcre: incorrect handling of zero-repeat assertion conditions
vendor_redhat·2014-11-18·CVSS 5.0
CVE-2014-8964 [MEDIUM] CWE-119 pcre: incorrect handling of zero-repeat assertion conditions
pcre: incorrect handling of zero-repeat assertion conditions
Heap-based buffer overflow in PCRE 8.36 and earlier allows remote attackers to cause a denial of service (crash) or have other unspecified impact via a crafted regular expression, related to an assertion that allows zero repeats.
A flaw was found in the way PCRE handled certain malformed regular expressions. This issue could cause an application (for example, Konqueror) linked against PCRE to crash while parsing malicious regular expressions.
Package: pcre (Red Hat Enterprise Linux 5) - Not affected
Package: pcre (Red Hat Enterprise Linux 6) - Not affected
Package: php54-php (Red Hat Software Collections) - Will not fix
Package: php55-php (Red Hat Software Collections) - Will not fix
Debian
CVE-2014-8964: pcre3 - Heap-based buffer overflow in PCRE 8.36 and earlier allows remote attackers to c...
vendor_debian·2014·CVSS 5.0
CVE-2014-8964 [MEDIUM] CVE-2014-8964: pcre3 - Heap-based buffer overflow in PCRE 8.36 and earlier allows remote attackers to c...
Heap-based buffer overflow in PCRE 8.36 and earlier allows remote attackers to cause a denial of service (crash) or have other unspecified impact via a crafted regular expression, related to an assertion that allows zero repeats.
Scope: local
bookworm: resolved (fixed in 2:8.35-3.3)
bullseye: resolved (fixed in 2:8.35-3.3)
GHSA
GHSA-86jv-65cg-v7gc: Heap-based buffer overflow in PCRE 8
ghsa_unreviewed·2022-05-17
CVE-2014-8964 [MEDIUM] CWE-119 GHSA-86jv-65cg-v7gc: Heap-based buffer overflow in PCRE 8
Heap-based buffer overflow in PCRE 8.36 and earlier allows remote attackers to cause a denial of service (crash) or have other unspecified impact via a crafted regular expression, related to an assertion that allows zero repeats.
OSV
pcre3 vulnerabilities
osv·2015-07-29·CVSS 5.0
CVE-2014-8964 [MEDIUM] pcre3 vulnerabilities
pcre3 vulnerabilities
Michele Spagnuolo discovered that PCRE incorrectly handled certain regular
expressions. A remote attacker could use this issue to cause applications
using PCRE to crash, resulting in a denial of service, or possibly execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-8964)
Kai Lu discovered that PCRE incorrectly handled certain regular
expressions. A remote attacker could use this issue to cause applications
using PCRE to crash, resulting in a denial of service, or possibly execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS and Ubuntu 15.04.
(CVE-2015-2325, CVE-2015-2326)
Wen Guanxing discovered that PCRE incorrectly handled certain regular
expressions. A remote attacker could use this issue to cause applications
using PCRE t
OSV
CVE-2014-8964: Heap-based buffer overflow in PCRE 8
osv·2014-12-16·CVSS 5.0
CVE-2014-8964 [MEDIUM] CVE-2014-8964: Heap-based buffer overflow in PCRE 8
Heap-based buffer overflow in PCRE 8.36 and earlier allows remote attackers to cause a denial of service (crash) or have other unspecified impact via a crafted regular expression, related to an assertion that allows zero repeats.
No detection rules found.
No public exploits indexed.
Bugzilla
mongodb: multiple flaws in bundled version of PCRE
bugzilla·2015-04-02·CVSS 5.0
CVE-2014-8964 [MEDIUM] mongodb: multiple flaws in bundled version of PCRE
mongodb: multiple flaws in bundled version of PCRE
MongoDB bundles PCRE version 8.30 that, among other issues, is vulnerable to CVE-2014-8964. A remote, authenticated attacker could use a specially crafted regular expression to crash a mongod server.
Upstream issue (with links to patches):
https://jira.mongodb.org/browse/SERVER-17252
Statement:
This issue did not affect the versions of MongoDB as shipped in any Red Hat product as they use the PCRE system library, not the bundled copy shipped with MongoDB. The CVE-2014-8964 PCRE flaw does not affect Red Hat Enterprise Linux 5 and 6, and has been fixed in Red Hat Enterprise Linux 7 via RHSA-2015:0330.
Discussion:
Vulnerabilities were in PCRE. Moving CVEs to the corresponding PCRE bugs.
Bugzilla
CVE-2014-8964 mingw-pcre: pcre: incorrect handling of zero-repeat assertion conditions [fedora-all]
bugzilla·2014-12-25·CVSS 5.0
CVE-2014-8964 [MEDIUM] CVE-2014-8964 mingw-pcre: pcre: incorrect handling of zero-repeat assertion conditions [fedora-all]
CVE-2014-8964 mingw-pcre: pcre: incorrect handling of zero-repeat assertion conditions [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2014-8964 pcre: incorrect handling of zero-repeat assertion conditions
bugzilla·2014-11-20·CVSS 5.0
CVE-2014-8964 [MEDIUM] CVE-2014-8964 pcre: incorrect handling of zero-repeat assertion conditions
CVE-2014-8964 pcre: incorrect handling of zero-repeat assertion conditions
Heap buffer overflow issue was reported in PCRE when processing a specially crafted regular expressions:
http://bugs.exim.org/show_bug.cgi?id=1546
Upstream patch for this:
http://www.exim.org/viewvc/pcre2?view=rev&revision=154
The next upstream release that will contain the above fix is likely to be around Feb/Mar next year (2015).
Discussion:
Original report along with the patch:
...
echo "a" | /tmp/pcre-8.36/pcregrep "((?=(?(?=(?(?=(?(?=())))*))))){2}" -
==29857==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x61000000fb94 at pc 0x7faf416f0dc6 bp 0x7fff9c91d3b0 sp 0x7fff9c91d3a8
READ of size 1 at 0x61000000fb94 thread T0
#0 0x7faf416f0dc5 in match /tmp/pcre-8.36/pcre_exec.c:1410:9
#1 0x7faf416dfe35
http://advisories.mageia.org/MGASA-2014-0534.htmlhttp://bugs.exim.org/show_bug.cgi?id=1546http://lists.fedoraproject.org/pipermail/package-announce/2014-December/145843.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/147474.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/147511.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/147516.htmlhttp://lists.opensuse.org/opensuse-updates/2015-05/msg00014.htmlhttp://rhn.redhat.com/errata/RHSA-2015-0330.htmlhttp://www.exim.org/viewvc/pcre?view=revision&revision=1513http://www.mandriva.com/security/advisories?name=MDVSA-2015:002http://www.mandriva.com/security/advisories?name=MDVSA-2015:137http://www.openwall.com/lists/oss-security/2014/11/21/6http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.htmlhttp://www.securityfocus.com/bid/71206https://bugzilla.redhat.com/show_bug.cgi?id=1166147https://security.gentoo.org/glsa/201607-02http://advisories.mageia.org/MGASA-2014-0534.htmlhttp://bugs.exim.org/show_bug.cgi?id=1546http://lists.fedoraproject.org/pipermail/package-announce/2014-December/145843.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/147474.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/147511.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-January/147516.htmlhttp://lists.opensuse.org/opensuse-updates/2015-05/msg00014.htmlhttp://rhn.redhat.com/errata/RHSA-2015-0330.htmlhttp://www.exim.org/viewvc/pcre?view=revision&revision=1513http://www.mandriva.com/security/advisories?name=MDVSA-2015:002http://www.mandriva.com/security/advisories?name=MDVSA-2015:137http://www.openwall.com/lists/oss-security/2014/11/21/6http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.htmlhttp://www.securityfocus.com/bid/71206https://bugzilla.redhat.com/show_bug.cgi?id=1166147https://security.gentoo.org/glsa/201607-02
2014-12-16
Published