CVE-2014-8964
NoneCVSS
—
EPSS
6.5%
Published
Dec 16, 2014
CISA due date
—
Cloudanix analysis
A problem in a widely used text-searching component can let attackers crash programs that handle certain search patterns, interrupting services until fixed.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer overflow in PCRE triggered by a crafted regular expression that exploits an assertion permitting zero repeats, resulting in memory corruption that can cause crashes or other unspecified effects.
Why it matters to the business
Applications relying on vulnerable PCRE versions may experience denial-of-service crashes when processing untrusted input, leading to service outages; the issue affects many downstream packages across Linux distributions and databases, though low exploitability and age reduce urgency for most environments.
How an attack unfolds
An attacker supplies a specially crafted regular expression containing an assertion that allows zero repeats to a vulnerable application, triggering the heap overflow during PCRE processing to achieve a crash or potential further impact.
How to fix it
Upgrade the PCRE library beyond version 8.36 in all affected products and apply the latest vendor patches for distributions and packages such as MariaDB, Red Hat Enterprise Linux variants, Fedora, openSUSE, Oracle Solaris, and similar ecosystems.
How to confirm the fix worked
Verify installed PCRE versions are newer than 8.36, review application dependencies for updates, and test regex processing with known triggering patterns in isolated environments to confirm stability.
Typical attack path
- Locate an application or service that accepts and processes regular expressions using a vulnerable PCRE version
- Craft a malicious regular expression that abuses the zero-repeat assertion
- Submit the regex as input to the target application
- Trigger heap corruption leading to denial of service or attempted code execution
How to detect it
Review application logs and crash dumps for PCRE-related segmentation faults or memory errors when processing regex input; examine any historical records of regex submissions around the time of potential exposure.
What your security team should do
- Inventory all systems and applications using PCRE or dependent packages
- Prioritize patching for any internet-facing or high-availability services
- Monitor vulnerability feeds for new exploit maturity developments given the stable low EPSS
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | pcre3 | 0 | 2:8.35-3.3 |
| Debian:12 | pcre3 | 0 | 2:8.35-3.3 |
| Mageia:4 | pcre | 0 | 8.33-2.1.mga4 |
| Red Hat:enterprise_linux:7::client | pcre | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::client | pcre-debuginfo | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::client | pcre-devel | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::client | pcre-static | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::client | pcre-tools | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::computenode | pcre | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::computenode | pcre-debuginfo | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::computenode | pcre-devel | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::computenode | pcre-static | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::computenode | pcre-tools | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::server | pcre | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::server | pcre-debuginfo | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::server | pcre-devel | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::server | pcre-static | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::server | pcre-tools | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::workstation | pcre | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::workstation | pcre-debuginfo | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::workstation | pcre-devel | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::workstation | pcre-static | 0 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::workstation | pcre-tools | 0 | 0:8.32-14.el7 |
| SUSE:Linux Enterprise Desktop 12 | mariadb | 0 | 10.0.20-18.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise High Availability Extension 12 SP1 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise High Availability Extension 12 SP1 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise High Availability Extension 12 SP2 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise High Availability Extension 12 SP2 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Server 12 | mariadb | 0 | 10.0.20-18.1 |
| SUSE:Linux Enterprise Server 12 SP1 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Server 12 SP1 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Server 12 SP2 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Server 12 SP2 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Server 12-LTSS | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | mariadb | 0 | 10.0.20-18.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | mariadb | 0 | 10.0.20-18.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Workstation Extension 12 | mariadb | 0 | 10.0.20-18.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP1 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP1 | pcre | 0 | 8.39-7.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP2 | pcre | 0 | 8.39-5.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP2 | pcre | 0 | 8.39-7.1 |
| Ubuntu:14.04:LTS | pcre3 | 0 | 1:8.31-2ubuntu2.1 |
Related vulnerabilities
- CVE-2017-6004 The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through 8.x… Also affects pcre3
- CVE-2014-9769 pcre_jit_compile.c in PCRE 8.35 does not properly use table jumps to optimize nested… Also affects pcre3
- CVE-2015-4870 Unspecified vulnerability in Oracle MySQL Server 5.5.45 and earlier, and 5.6.26 and… Also affects mariadb
- CVE-2015-0501 Unspecified vulnerability in Oracle MySQL Server 5.5.42 and earlier, and 5.6.23 and… Also affects mariadb
- CVE-2015-0433 Unspecified vulnerability in Oracle MySQL Server 5.5.41 and earlier, and 5.6.22 and… Also affects mariadb
- CVE-2015-0382 Unspecified vulnerability in Oracle MySQL Server 5.5.40 and earlier and 5.6.21 and… Also affects mariadb
- CVE-2014-6568 Unspecified vulnerability in Oracle MySQL Server 5.5.40 and earlier, and 5.6.21 and… Also affects mariadb
- CVE-2014-2494 Unspecified vulnerability in the MySQL Server component in Oracle MySQL 5.5.37 and… Also affects mariadb