---
title: "CVE-2015-8380\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-8380?format=md
keywords: index, follow
---

# CVE-2015-8380

Publication date 1 December 2015

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

The pcre\_exec function in pcre\_exec.c in PCRE before 8.38 mishandles a //
pattern with a \01 string, 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.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| pcre2 | 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| pcre3 | 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Fixed 2:8.35-7.1ubuntu1.3 |
| 15.04 vivid | Ignored end of life |
| 14.04 LTS trusty | Fixed 1:8.31-2ubuntu2.2 |
| 12.04 LTS precise | Not affected |

---

* [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-8380?format=md#patch-details)

## Notes

---

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

Issue affects PCRE3 only
Marking 'low' since it requires PCRE to operate on untrusted regular
expressions which is not very likely

---

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

0001-Fix-overflow-when-ovector-has-size-1.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=1565> |

## References

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

### Related Ubuntu Security Notices (USN)

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

### Other references

* <https://blog.fuzzing-project.org/29-Heap-Overflow-in-PCRE.html>
* <http://www.openwall.com/lists/oss-security/2015/11/29/1>
* <http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup>
* <https://www.cve.org/CVERecord?id=CVE-2015-8380>
