---
id: CVE-2016-0763
title: >-
  The setGlobalContext method in
  org/apache/naming/factory/ResourceLinkFactory.java in Apache Tomcat 7.x before
  7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M3 does not consider whether
  ResourceLinkFactory.setGlobalContext callers are a…
summary: >-
  The setGlobalContext method in
  org/apache/naming/factory/ResourceLinkFactory.java in Apache Tomcat 7.x before
  7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M3 does not consider whether
  ResourceLinkFactory.setGlobalContext callers are a…
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-264
vendor: apache
product: tomcat
affected:
  - debian_linux = 7.0
  - debian_linux = 8.0
  - tomcat = 7.0.0
  - tomcat = 7.0.2
  - tomcat = 7.0.4
  - tomcat = 7.0.5
  - tomcat = 7.0.6
  - tomcat = 7.0.10
  - tomcat = 7.0.11
  - tomcat = 7.0.12
  - tomcat = 7.0.14
  - tomcat = 7.0.16
  - tomcat = 7.0.19
  - tomcat = 7.0.20
  - tomcat = 7.0.21
  - tomcat = 7.0.22
  - tomcat = 7.0.23
  - tomcat = 7.0.25
  - tomcat = 7.0.26
  - tomcat = 7.0.27
  - tomcat = 7.0.28
  - tomcat = 7.0.29
  - tomcat = 7.0.30
  - tomcat = 7.0.32
  - tomcat = 7.0.33
  - tomcat = 7.0.34
  - tomcat = 7.0.35
  - tomcat = 7.0.37
  - tomcat = 7.0.39
  - tomcat = 7.0.40
  - tomcat = 7.0.41
  - tomcat = 7.0.42
  - tomcat = 7.0.47
  - tomcat = 7.0.50
  - tomcat = 7.0.52
  - tomcat = 7.0.53
  - tomcat = 7.0.54
  - tomcat = 7.0.55
  - tomcat = 7.0.56
  - tomcat = 7.0.57
  - tomcat = 7.0.59
  - tomcat = 7.0.61
  - tomcat = 7.0.62
  - tomcat = 7.0.63
  - tomcat = 7.0.64
  - tomcat = 7.0.65
  - tomcat = 7.0.67
  - tomcat = 8.0.0
  - tomcat = 8.0.1
  - tomcat = 8.0.3
  - tomcat = 8.0.11
  - tomcat = 8.0.12
  - tomcat = 8.0.14
  - tomcat = 8.0.15
  - tomcat = 8.0.17
  - tomcat = 8.0.18
  - tomcat = 8.0.20
  - tomcat = 8.0.21
  - tomcat = 8.0.22
  - tomcat = 8.0.23
  - tomcat = 8.0.24
  - tomcat = 8.0.26
  - tomcat = 8.0.27
  - tomcat = 8.0.28
  - tomcat = 8.0.29
  - tomcat = 8.0.30
  - tomcat = 9.0.0
  - ubuntu_linux = 12.04
  - ubuntu_linux = 14.04
  - ubuntu_linux = 15.10
  - ubuntu_linux = 16.04
published: '2016-02-25'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T16:17:15.680'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2016-0763'
references:
  - url: >-
      http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179356.html
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-1089.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2599.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2807.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2808.html'
    label: secalert@redhat.com
  - url: 'http://seclists.org/bugtraq/2016/Feb/147'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1725926'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1725929'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1725931'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-7.html'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-8.html'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-9.html'
    label: secalert@redhat.com
  - url: 'http://www.debian.org/security/2016/dsa-3530'
    label: secalert@redhat.com
  - url: 'http://www.debian.org/security/2016/dsa-3552'
    label: secalert@redhat.com
  - url: 'http://www.debian.org/security/2016/dsa-3609'
    label: secalert@redhat.com
  - url: >-
      http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
    label: secalert@redhat.com
  - url: >-
      http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
    label: secalert@redhat.com
  - url: 'http://www.securityfocus.com/bid/83326'
    label: secalert@redhat.com
  - url: 'http://www.securitytracker.com/id/1035069'
    label: secalert@redhat.com
  - url: 'http://www.ubuntu.com/usn/USN-3024-1'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2016:1087'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2016:1088'
    label: secalert@redhat.com
  - url: 'https://bto.bluecoat.com/security-advisory/sa118'
    label: secalert@redhat.com
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
    label: secalert@redhat.com
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626
    label: secalert@redhat.com
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324755
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: 'https://security.gentoo.org/glsa/201705-09'
    label: secalert@redhat.com
  - url: 'https://security.netapp.com/advisory/ntap-20180531-0001/'
    label: secalert@redhat.com
  - url: >-
      http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179356.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-1089.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2599.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2807.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2808.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/bugtraq/2016/Feb/147'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1725926'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1725929'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1725931'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-7.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-8.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-9.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.debian.org/security/2016/dsa-3530'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.debian.org/security/2016/dsa-3552'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.debian.org/security/2016/dsa-3609'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/bid/83326'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securitytracker.com/id/1035069'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.ubuntu.com/usn/USN-3024-1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2016:1087'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2016:1088'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bto.bluecoat.com/security-advisory/sa118'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324755
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/201705-09'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20180531-0001/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
epss: 0.11297
epssPercentile: 0.95922
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T15:19:09.870169Z'
ingestedAt: '2026-10-15T16:13:11.512Z'
---

## Overview

The setGlobalContext method in org/apache/naming/factory/ResourceLinkFactory.java in Apache Tomcat 7.x before 7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M3 does not consider whether ResourceLinkFactory.setGlobalContext callers are authorized, which allows remote authenticated users to bypass intended SecurityManager restrictions and read or write to arbitrary application data, or cause a denial of service (application disruption), via a web application that sets a crafted global context.

## Affected

- `debian_linux = 7.0`
- `debian_linux = 8.0`
- `tomcat = 7.0.0`
- `tomcat = 7.0.2`
- `tomcat = 7.0.4`
- `tomcat = 7.0.5`
- `tomcat = 7.0.6`
- `tomcat = 7.0.10`
- `tomcat = 7.0.11`
- `tomcat = 7.0.12`
- `tomcat = 7.0.14`
- `tomcat = 7.0.16`
- `tomcat = 7.0.19`
- `tomcat = 7.0.20`
- `tomcat = 7.0.21`
- `tomcat = 7.0.22`
- `tomcat = 7.0.23`
- `tomcat = 7.0.25`
- `tomcat = 7.0.26`
- `tomcat = 7.0.27`
- `tomcat = 7.0.28`
- `tomcat = 7.0.29`
- `tomcat = 7.0.30`
- `tomcat = 7.0.32`
- `tomcat = 7.0.33`
- `tomcat = 7.0.34`
- `tomcat = 7.0.35`
- `tomcat = 7.0.37`
- `tomcat = 7.0.39`
- `tomcat = 7.0.40`
- `tomcat = 7.0.41`
- `tomcat = 7.0.42`
- `tomcat = 7.0.47`
- `tomcat = 7.0.50`
- `tomcat = 7.0.52`
- `tomcat = 7.0.53`
- `tomcat = 7.0.54`
- `tomcat = 7.0.55`
- `tomcat = 7.0.56`
- `tomcat = 7.0.57`
- `tomcat = 7.0.59`
- `tomcat = 7.0.61`
- `tomcat = 7.0.62`
- `tomcat = 7.0.63`
- `tomcat = 7.0.64`
- `tomcat = 7.0.65`
- `tomcat = 7.0.67`
- `tomcat = 8.0.0`
- `tomcat = 8.0.1`
- `tomcat = 8.0.3`
- `tomcat = 8.0.11`
- `tomcat = 8.0.12`
- `tomcat = 8.0.14`
- `tomcat = 8.0.15`
- `tomcat = 8.0.17`
- `tomcat = 8.0.18`
- `tomcat = 8.0.20`
- `tomcat = 8.0.21`
- `tomcat = 8.0.22`
- `tomcat = 8.0.23`
- `tomcat = 8.0.24`
- `tomcat = 8.0.26`
- `tomcat = 8.0.27`
- `tomcat = 8.0.28`
- `tomcat = 8.0.29`
- `tomcat = 8.0.30`
- `tomcat = 9.0.0`
- `ubuntu_linux = 12.04`
- `ubuntu_linux = 14.04`
- `ubuntu_linux = 15.10`
- `ubuntu_linux = 16.04`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
