CVE-2015-2326 in Mariadb and 3 more products
The pcre_compile2 function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code and cause a denial of service (out-of-bounds read) via regular expression with a group containing both a forward referencing subroutine call and a recursive back reference, as demonstrated by "((?+1)(\1))/".
Affects 4 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mariadb | Mariadb | ≥ 10.0.0, < 10.0.18 |
| Opensuse | Opensuse | 13.1 13.2 |
| Pcre | Pcre | < 8.37 |
| Php | Php | ≥ 5.4.0, < 5.4.41 ≥ 5.5.0, < 5.5.26 ≥ 5.6.0, < 5.6.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The pcre_compile2 function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code and cause a denial of service (out-of-bounds read) via regular expression with a group containing both a forward referencing subroutine call and a recursive back reference, as demonstrated by "((?+1)(\1))/".
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-2326 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-103696-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| Published | 2020-01-14 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the pcre_compile2 function in PCRE versions prior to 8.37 allows attackers to cause a denial of service through an out-of-bounds read by using a specific regular expression pattern.
The attack involves crafting a regular expression with a group that includes both a forward referencing subroutine call and a recursive back reference, which can lead to incorrect code compilation and an out-of-bounds read.
Questions
What is CVE-2015-2326?
A vulnerability in the pcre_compile2 function in PCRE versions prior to 8.37 allows attackers to cause a denial of service through an out-of-bounds read by using a specific regular expression pattern.
What is the CVSS score for CVE-2015-2326?
CVE-2015-2326 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. EPSS: 1.6%.
Is CVE-2015-2326 actively exploited?
No confirmed active exploitation of CVE-2015-2326 as of 2026-09-25.
How do I remediate CVE-2015-2326?
Priority: MEDIUM.
What systems are affected by CVE-2015-2326?
CVE-2015-2326 affects Mariadb Mariadb; Opensuse Opensuse; Pcre Pcre; Php Php.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mariadb","product":"Mariadb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.