---
title: "CVE-2015-2326\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2015-2326?format=md
keywords: index, follow
---

# CVE-2015-2326

Publication date 1 April 2015

Last updated 25 August 2025

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2015-2326?format=md#impact-score)

Toggle side navigation

## 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))/".

[Read the notes from the security team](https://ubuntu.com/security/CVE-2015-2326?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| pcre3 | 15.10 wily | Fixed 2:8.35-7.1ubuntu1.3 |
| 15.04 vivid | Fixed 2:8.35-3.3ubuntu1.1 |
| 14.10 utopic | Ignored end of life |
| 14.04 LTS trusty | Fixed 1:8.31-2ubuntu2.1 |
| 12.04 LTS precise | Not affected |
| 10.04 LTS lucid | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2015-2326?format=md#patch-details)

## Notes

---

### [tyhicks](https://launchpad.net/~tyhicks)

Valgrind detects a 1-byte invalid read on Vivid through Trusty

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

was supposed to be fixed in wily (2:8.35-7ubuntu2) but got
reverted in (2:8.35-7ubuntu5) by mistake
CVE-2015-2325\_CVE-2015-2326\_CVE-2015-3210\_CVE-2015-5073.patch
in jessie

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| pcre3 | * Upstream:   <http://vcs.pcre.org/pcre?view=revision&revision=1529> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2326)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2015-2326)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2015-2326)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2015-2326)

### Related Ubuntu Security Notices (USN)

+ [USN-2694-1](https://usn.ubuntu.com/USN-2694-1)
+ PCRE vulnerabilities
+ 29 July 2015

+ [USN-2943-1](https://usn.ubuntu.com/USN-2943-1)
+ PCRE vulnerabilities
+ 29 March 2016

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2015-2326>
