Read the docs
TI-2015-06901 Aliases CVE-2015-8381GHSA-wvfj-fw7x-gqpr

The compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compile.c in…

Priority MEDIUM 41CWE-119Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.

Summary

The compile_regex function in pcre_compile.c in PCRE before 8.38 and pcre2_compile.c in PCRE2 before 10.2x mishandles the /(?J:(?|(:(?|(?'R')(\k'R')|((?'R')))H'Rk'Rf)|s(?'R'))))/ and /(?J:(?|(:(?|(?'R')(\z(?|(?'R')(\k'R')|((?'R')))k'R')|((?'R')))H'Ak'Rf)|s(?'R')))/ patterns, and related patterns with certain group references, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.

Why it matters now

EPSS 0.05286 92nd percentileScored 2026-11-07
Public exploit Yes 3 exploit referencesTagged by NVD
Fix Fixed Red Hat: 2 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pcre:perl_compatible_regular_expression_library:*:*:*:*:*:*:*:*up to 8.37VulnerablePCRE
  • cpe:2.3:a:pcre:perl_compatible_regular_expression_library:*:*:*:*:*:*:*:* Versions up to 8.37 Vulnerable ·PCRE

Remediation

Red Hat 2 advisories

  • RHSA-2016:2750 Released 2016-11-15 · Red Hat rating Moderate
    rh-php56 security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-php56-2.3-1.el6, rh-php56-php-5.6.25-1.el6, rh-php56-php-bcmath-5.6.25-1.el6 +30
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php56-2.3-1.el7, rh-php56-php-5.6.25-1.el7, rh-php56-php-bcmath-5.6.25-1.el7 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-php56-2.3-1.el6, rh-php56-php-5.6.25-1.el6, rh-php56-php-bcmath-5.6.25-1.el6 +30
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) rh-php56-2.3-1.el7, rh-php56-php-5.6.25-1.el7, rh-php56-php-bcmath-5.6.25-1.el7 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-php56-2.3-1.el7, rh-php56-php-5.6.25-1.el7, rh-php56-php-bcmath-5.6.25-1.el7 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-php56-2.3-1.el6, rh-php56-php-5.6.25-1.el6, rh-php56-php-bcmath-5.6.25-1.el6 +30
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php56-2.3-1.el7, rh-php56-php-5.6.25-1.el7, rh-php56-php-bcmath-5.6.25-1.el7 +28
  • RHSA-2016:1132 Released 2016-05-26 · Red Hat rating Important
    rh-mariadb100-mariadb security update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-mariadb100-mariadb-1:10.0.25-4.el6, rh-mariadb100-mariadb-bench-1:10.0.25-4.el6, rh-mariadb100-mariadb-common-1:10.0.25-4.el6 +6
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-mariadb100-mariadb-1:10.0.25-4.el7, rh-mariadb100-mariadb-bench-1:10.0.25-4.el7, rh-mariadb100-mariadb-common-1:10.0.25-4.el7 +6
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) rh-mariadb100-mariadb-1:10.0.25-4.el6, rh-mariadb100-mariadb-bench-1:10.0.25-4.el6, rh-mariadb100-mariadb-common-1:10.0.25-4.el6 +6
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-mariadb100-mariadb-1:10.0.25-4.el6, rh-mariadb100-mariadb-bench-1:10.0.25-4.el6, rh-mariadb100-mariadb-common-1:10.0.25-4.el6 +6
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) rh-mariadb100-mariadb-1:10.0.25-4.el7, rh-mariadb100-mariadb-bench-1:10.0.25-4.el7, rh-mariadb100-mariadb-common-1:10.0.25-4.el7 +6
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) rh-mariadb100-mariadb-1:10.0.25-4.el7, rh-mariadb100-mariadb-bench-1:10.0.25-4.el7, rh-mariadb100-mariadb-common-1:10.0.25-4.el7 +6
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-mariadb100-mariadb-1:10.0.25-4.el6, rh-mariadb100-mariadb-bench-1:10.0.25-4.el6, rh-mariadb100-mariadb-common-1:10.0.25-4.el6 +6
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-mariadb100-mariadb-1:10.0.25-4.el7, rh-mariadb100-mariadb-bench-1:10.0.25-4.el7, rh-mariadb100-mariadb-common-1:10.0.25-4.el7 +6

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2016:1132, RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2016:1132, RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6)Fixed RHSA-2016:1132
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7)Fixed RHSA-2016:1132, RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1)Fixed RHSA-2016:1132
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)Fixed RHSA-2016:1132, RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3)Fixed RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2016:1132, RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2016:1132, RHSA-2016:2750
Not affected: 8 products
  • Red Hat Directory Server 8
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat JBoss Enterprise Web Server 1
  • Red Hat JBoss Enterprise Web Server 2
  • Red Hat JBoss Enterprise Web Server 3
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2015-8381
  2. 2026-10-03 Alias added: GHSA-wvfj-fw7x-gqpr

References

  • TI-2015-06906 PCRE before 8.38 mishandles the interaction of lookbehind assertions and mutually… CVSS 3.1CRITICAL 9.8
  • TI-2015-06903 PCRE before 8.38 mishandles certain repeated conditional groups, which allows remote… CVSS 3.1CRITICAL 9.8
  • TI-2015-06914 PCRE before 8.38 mishandles the (?(<digits>) and (?(R<digits>) conditions, which allows… CVSS 3.1CRITICAL 9.8
  • TI-2015-06910 PCRE before 8.38 mishandles the [: and \\ substrings in character classes, which allows… CVSS 3.1CRITICAL 9.8
  • TI-2015-06909 PCRE before 8.38 mishandles the /(?:|a|){100}x/ pattern and related patterns, which… CVSS 3.1CRITICAL 9.8
  • TI-2015-06908 PCRE before 8.38 mishandles the /(?=di(?<=(?1))|(?=(.))))/ pattern and related patterns… CVSS 2.0HIGH 7.5
See all 15 →

Sources