Back to CVE catalog
CVE-2015-8381

PCRE heap-based buffer overflow

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

7.5High
Published:
Updated:
EPSS:
5.286%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:pcreperl compatible regular expression libraryAffected versions:
≤ 8.37
Vendor:Debianlibpcre16-3
Environments (1)
  • bookworm
Affected versions:
< 2:8.38-1
Vendor:Debianlibpcre3
Environments (1)
  • bookworm
Affected versions:
< 2:8.38-1
Vendor:Debianlibpcre3-dbg
Environments (1)
  • bookworm
Affected versions:
< 2:8.38-1
Vendor:Debianlibpcre3-dev
Environments (1)
  • bookworm
Affected versions:
< 2:8.38-1
Vendor:Debianlibpcre3-udeb
Environments (1)
  • bookworm
Affected versions:
< 2:8.38-1
Vendor:Debianlibpcre32-3
Environments (1)
  • bookworm
Affected versions:
< 2:8.38-1
Vendor:Debianlibpcrecpp0v5
Environments (1)
  • bookworm
Affected versions:
< 2:8.38-1
Vendor:Debianpcregrep
Environments (1)
  • bookworm
Affected versions:
< 2:8.38-1
Vendor:SUSElibpcrecpp0
Environments (11)
  • cpe:/o:suse:sle-we:12:sp1
  • cpe:/o:suse:sle-we:12:sp2
  • cpe:/o:suse:sle-we:12:sp5
  • cpe:/o:suse:sled:12:sp1
  • cpe:/o:suse:sled:12:sp2
  • cpe:/o:suse:sles:12:sp1
  • cpe:/o:suse:sles:12:sp2
  • cpe:/o:suse:sles:12:sp5
  • cpe:/o:suse:sles_sap:12:sp1
  • cpe:/o:suse:sles_sap:12:sp2
  • cpe:/o:suse:sles_sap:12:sp5
Affected versions:
< 0:8.39-7.1

1–10 of 58 · Page 1 of 6

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat · Wazuh CTI (adp)6.8 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:P/A:P
Red Hat · Red Hat VEX (adp)6.8 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories42

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences