UBUNTU-CVE-2016-3191

Source
https://ubuntu.com/security/CVE-2016-3191
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-3191.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2016-3191
Related
Published
2016-03-17T00:00:00Z
Modified
2016-03-17T00:00:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The compilebranch function in pcrecompile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542.

References

Affected packages

Ubuntu:14.04:LTS / pcre3

Package

Name
pcre3
Purl
pkg:deb/ubuntu/pcre3?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:8.31-2ubuntu2.2

Affected versions

1:8.*

1:8.31-2
1:8.31-2ubuntu2
1:8.31-2ubuntu2.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "libpcre3"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "libpcre3-dbg"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "libpcre3-dbgsym"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "libpcre3-dev"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "libpcre3-dev-dbgsym"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "libpcre3-udeb"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "libpcre3-udeb-dbgsym"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "libpcrecpp0"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "libpcrecpp0-dbgsym"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "pcregrep"
        },
        {
            "binary_version": "1:8.31-2ubuntu2.2",
            "binary_name": "pcregrep-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.21-1

Affected versions

10.*

10.20-1
10.20-2
10.20-3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-16-0"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-16-0-dbgsym"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-32-0"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-32-0-dbgsym"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-8-0"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-8-0-dbgsym"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-dbg"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-dev"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-dev-dbgsym"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-posix0"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "libpcre2-posix0-dbgsym"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "pcre2-utils"
        },
        {
            "binary_version": "10.21-1",
            "binary_name": "pcre2-utils-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / pcre3

Package

Name
pcre3
Purl
pkg:deb/ubuntu/pcre3?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:8.38-3

Affected versions

2:8.*

2:8.35-7.1ubuntu1
2:8.38-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre16-3"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre16-3-dbgsym"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre3"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre3-dbg"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre3-dbgsym"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre3-dev"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre3-dev-dbgsym"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre3-udeb"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre3-udeb-dbgsym"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre32-3"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcre32-3-dbgsym"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcrecpp0v5"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "libpcrecpp0v5-dbgsym"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "pcregrep"
        },
        {
            "binary_version": "2:8.38-3",
            "binary_name": "pcregrep-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / pcre2

Package

Name
pcre2
Purl
pkg:deb/ubuntu/pcre2?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.31-2

Affected versions

10.*

10.22-3
10.22-4
10.22-5
10.22-6

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "10.31-2",
            "binary_name": "libpcre2-16-0"
        },
        {
            "binary_version": "10.31-2",
            "binary_name": "libpcre2-32-0"
        },
        {
            "binary_version": "10.31-2",
            "binary_name": "libpcre2-8-0"
        },
        {
            "binary_version": "10.31-2",
            "binary_name": "libpcre2-8-0-udeb"
        },
        {
            "binary_version": "10.31-2",
            "binary_name": "libpcre2-dbg"
        },
        {
            "binary_version": "10.31-2",
            "binary_name": "libpcre2-dev"
        },
        {
            "binary_version": "10.31-2",
            "binary_name": "libpcre2-posix0"
        },
        {
            "binary_version": "10.31-2",
            "binary_name": "pcre2-utils"
        }
    ]
}