Heap-based buffer overflow in PCRE 8.36 and earlier allows remote attackers to cause a denial of service (crash) or have other unspecified i
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.
- Published
- Dec 16, 2014
- Updated
- Jun 16, 2026
- EPSS
- 6.5% · 94th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.5%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| pcre | pcre | cpe:2.3:a:pcre:pcre |
| mariadb | mariadb | cpe:2.3:a:mariadb:mariadb |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
| oracle | solaris | cpe:2.3:o:oracle:solaris |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora19
- fedoraproject fedora20
- fedoraproject fedora21
- mariadb mariadb10.0.0 and later · before 10.0.18
- opensuse opensuse13.1
- opensuse opensuse13.2
- oracle solaris11.2
- pcre pcreup to 8.36 inclusive
- redhat enterprise linux desktop7.0
- redhat enterprise linux eus7.3
- redhat enterprise linux eus7.4
- redhat enterprise linux eus7.5
- redhat enterprise linux eus7.6
- redhat enterprise linux eus7.7
- redhat enterprise linux server7.0
- redhat enterprise linux server aus7.3
- redhat enterprise linux server aus7.4
- redhat enterprise linux server aus7.6
- redhat enterprise linux server aus7.7
- redhat enterprise linux server tus7.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | pcre3 | before 2:8.35-3.3 | 2:8.35-3.3 |
| Red Hat:enterprise_linux:7::client | pcre | before 0:8.32-14.el7 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::client | pcre-debuginfo | before 0:8.32-14.el7 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::client | pcre-devel | before 0:8.32-14.el7 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::client | pcre-static | before 0:8.32-14.el7 | 0:8.32-14.el7 |
| Red Hat:enterprise_linux:7::client | pcre-tools | before 0:8.32-14.el7 | 0:8.32-14.el7 |
| SUSE:Linux Enterprise Desktop 12 | mariadb | before 10.0.20-18.1 | 10.0.20-18.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | pcre | before 8.39-7.1 | 8.39-7.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | pcre | before 8.39-5.1 | 8.39-5.1 |
Same product
pcre: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-3191The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containi42Plan
- CVE-2016-1283The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J41Plan
- CVE-2015-8391The pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles certain [: nesting, which allows remote attackers to cause a deni41Plan
- CVE-2015-5073Heap-based buffer overflow in the find_fixedlength function in pcre_compile.c in PCRE before 8.38 allows remote attackers to cause a denial 38Monitor
- CVE-2017-7246Stack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a 32Monitor
- CVE-2017-7245Stack-based buffer overflow in the pcre32_copy_substring function in pcre_get.c in libpcre1 in PCRE 8.40 allows remote attackers to cause a 32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Debian:pcre3 | 2:8.35-3.3 · Debian:12 | Package registry (OSV) |
| Red Hat:pcre | 0:8.32-14.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| Red Hat:pcre-debuginfo | 0:8.32-14.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| Red Hat:pcre-devel | 0:8.32-14.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| Red Hat:pcre-static | 0:8.32-14.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| Red Hat:pcre-tools | 0:8.32-14.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| SUSE:mariadb | 10.0.20-18.1 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
| SUSE:pcre | 8.39-5.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- advisories.mageia.org/MGASA-2014-0534.html
- bugs.exim.org/show_bug.cgi?id=1546
- lists.fedoraproject.org/pipermail/package-announce/2014-December/145843.html
- lists.fedoraproject.org/pipermail/package-announce/2015-January/147474.html
- lists.fedoraproject.org/pipermail/package-announce/2015-January/147511.html
- lists.fedoraproject.org/pipermail/package-announce/2015-January/147516.html
- lists.opensuse.org/opensuse-updates/2015-05/msg00014.html
- rhn.redhat.com/errata/RHSA-2015-0330.html
- www.exim.org/viewvc/pcre?view=revision&revision=1513
- www.mandriva.com/security/advisories?name=MDVSA-2015:002
- www.mandriva.com/security/advisories?name=MDVSA-2015:137
- www.openwall.com/lists/oss-security/2014/11/21/6
- www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- www.securityfocus.com/bid/71206
- bugzilla.redhat.com/show_bug.cgi?id=1166147
- security.gentoo.org/glsa/201607-02
Vendor advisories and official records. Exploit/PoC links are deliberately left out.