---
id: CVE-2014-0119
title: >-
  Apache Tomcat before 6.0.40, 7.x before 7.0.54, and 8.x before 8.0.6 does not
  properly constrain the class loader that accesses the XML parser used with an
  XSLT stylesheet, which allows remote attackers to (1) read arbitrary files via
  a …
summary: >-
  Apache Tomcat before 6.0.40, 7.x before 7.0.54, and 8.x before 8.0.6 does not
  properly constrain the class loader that accesses the XML parser used with an
  XSLT stylesheet, which allows remote attackers to (1) read arbitrary files via
  a …
severity: medium
cvss: 4.3
cvssVector: 'AV:N/AC:M/Au:N/C:P/I:N/A:N'
cwe:
  - CWE-264
vendor: apache
product: tomcat
affected:
  - tomcat = 8.0.0
  - tomcat = 8.0.1
  - tomcat = 8.0.3
  - tomcat = 8.0.5
  - tomcat <= 6.0.39
  - tomcat = 6
  - tomcat = 6.0
  - tomcat = 6.0.0
  - tomcat = 6.0.1
  - tomcat = 6.0.2
  - tomcat = 6.0.3
  - tomcat = 6.0.4
  - tomcat = 6.0.5
  - tomcat = 6.0.6
  - tomcat = 6.0.7
  - tomcat = 6.0.8
  - tomcat = 6.0.9
  - tomcat = 6.0.10
  - tomcat = 6.0.11
  - tomcat = 6.0.12
  - tomcat = 6.0.13
  - tomcat = 6.0.14
  - tomcat = 6.0.15
  - tomcat = 6.0.16
  - tomcat = 6.0.17
  - tomcat = 6.0.18
  - tomcat = 6.0.19
  - tomcat = 6.0.20
  - tomcat = 6.0.24
  - tomcat = 6.0.26
  - tomcat = 6.0.27
  - tomcat = 6.0.28
  - tomcat = 6.0.29
  - tomcat = 6.0.30
  - tomcat = 6.0.31
  - tomcat = 6.0.32
  - tomcat = 6.0.33
  - tomcat = 6.0.35
  - tomcat = 6.0.36
  - tomcat = 6.0.37
  - tomcat = 7.0.0
  - tomcat = 7.0.1
  - tomcat = 7.0.2
  - tomcat = 7.0.3
  - tomcat = 7.0.4
  - tomcat = 7.0.5
  - tomcat = 7.0.6
  - tomcat = 7.0.7
  - tomcat = 7.0.8
  - tomcat = 7.0.9
  - tomcat = 7.0.10
  - tomcat = 7.0.11
  - tomcat = 7.0.12
  - tomcat = 7.0.13
  - tomcat = 7.0.14
  - tomcat = 7.0.15
  - tomcat = 7.0.16
  - tomcat = 7.0.17
  - tomcat = 7.0.18
  - tomcat = 7.0.19
  - tomcat = 7.0.20
  - tomcat = 7.0.21
  - tomcat = 7.0.22
  - tomcat = 7.0.23
  - tomcat = 7.0.24
  - 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.31
  - tomcat = 7.0.32
  - tomcat = 7.0.33
  - tomcat = 7.0.34
  - tomcat = 7.0.35
  - tomcat = 7.0.36
  - tomcat = 7.0.37
  - tomcat = 7.0.38
  - tomcat = 7.0.39
  - tomcat = 7.0.40
  - tomcat = 7.0.41
  - tomcat = 7.0.42
  - tomcat = 7.0.43
  - tomcat = 7.0.44
  - tomcat = 7.0.45
  - tomcat = 7.0.46
  - tomcat = 7.0.47
  - tomcat = 7.0.48
  - tomcat = 7.0.49
  - tomcat = 7.0.50
  - tomcat = 7.0.52
  - tomcat = 7.0.53
published: '2014-05-31'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T17:17:31.707'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2014-0119'
references:
  - url: 'http://advisories.mageia.org/MGASA-2014-0268.html'
    label: secalert@redhat.com
  - url: 'http://marc.info/?l=bugtraq&m=141017844705317&w=2'
    label: secalert@redhat.com
  - url: 'http://marc.info/?l=bugtraq&m=144498216801440&w=2'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0675.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0720.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0765.html'
    label: secalert@redhat.com
  - url: 'http://seclists.org/fulldisclosure/2014/Dec/23'
    label: secalert@redhat.com
  - url: 'http://seclists.org/fulldisclosure/2014/May/141'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/59732'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/59873'
    label: secalert@redhat.com
  - url: 'http://secunia.com/advisories/60729'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1588193'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1588199'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589640'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589837'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589980'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589983'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589985'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589990'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589992'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589997'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1590028'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1590036'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1593815'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1593821'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-6.html'
    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://www-01.ibm.com/support/docview.wss?uid=swg21678231'
    label: secalert@redhat.com
  - url: 'http://www-01.ibm.com/support/docview.wss?uid=swg21681528'
    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.mandriva.com/security/advisories?name=MDVSA-2015:052'
    label: secalert@redhat.com
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:053'
    label: secalert@redhat.com
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:084'
    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/topics/security/cpujul2014-1972956.html'
    label: secalert@redhat.com
  - url: 'http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html'
    label: secalert@redhat.com
  - url: 'http://www.securityfocus.com/archive/1/534161/100/0/threaded'
    label: secalert@redhat.com
  - url: 'http://www.securityfocus.com/bid/67669'
    label: secalert@redhat.com
  - url: 'http://www.securitytracker.com/id/1030298'
    label: secalert@redhat.com
  - url: 'http://www.ubuntu.com/usn/USN-2654-1'
    label: secalert@redhat.com
  - url: 'http://www.vmware.com/security/advisories/VMSA-2014-0012.html'
    label: secalert@redhat.com
  - url: >-
      https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04851013
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%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: 'http://advisories.mageia.org/MGASA-2014-0268.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://marc.info/?l=bugtraq&m=141017844705317&w=2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://marc.info/?l=bugtraq&m=144498216801440&w=2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0675.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0720.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2015-0765.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2014/Dec/23'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2014/May/141'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/59732'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/59873'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/60729'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1588193'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1588199'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589640'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589837'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589980'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589983'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589985'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589990'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589992'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1589997'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1590028'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1590036'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1593815'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1593821'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-6.html'
    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://www-01.ibm.com/support/docview.wss?uid=swg21678231'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www-01.ibm.com/support/docview.wss?uid=swg21681528'
    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.mandriva.com/security/advisories?name=MDVSA-2015:052'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:053'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.mandriva.com/security/advisories?name=MDVSA-2015:084'
    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/topics/security/cpujul2014-1972956.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/archive/1/534161/100/0/threaded'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/bid/67669'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securitytracker.com/id/1030298'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.ubuntu.com/usn/USN-2654-1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.vmware.com/security/advisories/VMSA-2014-0012.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04851013
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%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
tags:
  - nvd
epss: 0.07616
epssPercentile: 0.94473
ingestedAt: '2026-10-14T17:44:53.590Z'
---

## Overview

Apache Tomcat before 6.0.40, 7.x before 7.0.54, and 8.x before 8.0.6 does not properly constrain the class loader that accesses the XML parser used with an XSLT stylesheet, which allows remote attackers to (1) read arbitrary files via a crafted web application that provides an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue, or (2) read files associated with different web applications on a single Tomcat instance via a crafted web application.

## Affected

- `tomcat = 8.0.0`
- `tomcat = 8.0.1`
- `tomcat = 8.0.3`
- `tomcat = 8.0.5`
- `tomcat <= 6.0.39`
- `tomcat = 6`
- `tomcat = 6.0`
- `tomcat = 6.0.0`
- `tomcat = 6.0.1`
- `tomcat = 6.0.2`
- `tomcat = 6.0.3`
- `tomcat = 6.0.4`
- `tomcat = 6.0.5`
- `tomcat = 6.0.6`
- `tomcat = 6.0.7`
- `tomcat = 6.0.8`
- `tomcat = 6.0.9`
- `tomcat = 6.0.10`
- `tomcat = 6.0.11`
- `tomcat = 6.0.12`
- `tomcat = 6.0.13`
- `tomcat = 6.0.14`
- `tomcat = 6.0.15`
- `tomcat = 6.0.16`
- `tomcat = 6.0.17`
- `tomcat = 6.0.18`
- `tomcat = 6.0.19`
- `tomcat = 6.0.20`
- `tomcat = 6.0.24`
- `tomcat = 6.0.26`
- `tomcat = 6.0.27`
- `tomcat = 6.0.28`
- `tomcat = 6.0.29`
- `tomcat = 6.0.30`
- `tomcat = 6.0.31`
- `tomcat = 6.0.32`
- `tomcat = 6.0.33`
- `tomcat = 6.0.35`
- `tomcat = 6.0.36`
- `tomcat = 6.0.37`
- `tomcat = 7.0.0`
- `tomcat = 7.0.1`
- `tomcat = 7.0.2`
- `tomcat = 7.0.3`
- `tomcat = 7.0.4`
- `tomcat = 7.0.5`
- `tomcat = 7.0.6`
- `tomcat = 7.0.7`
- `tomcat = 7.0.8`
- `tomcat = 7.0.9`
- `tomcat = 7.0.10`
- `tomcat = 7.0.11`
- `tomcat = 7.0.12`
- `tomcat = 7.0.13`
- `tomcat = 7.0.14`
- `tomcat = 7.0.15`
- `tomcat = 7.0.16`
- `tomcat = 7.0.17`
- `tomcat = 7.0.18`
- `tomcat = 7.0.19`
- `tomcat = 7.0.20`
- `tomcat = 7.0.21`
- `tomcat = 7.0.22`
- `tomcat = 7.0.23`
- `tomcat = 7.0.24`
- `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.31`
- `tomcat = 7.0.32`
- `tomcat = 7.0.33`
- `tomcat = 7.0.34`
- `tomcat = 7.0.35`
- `tomcat = 7.0.36`
- `tomcat = 7.0.37`
- `tomcat = 7.0.38`
- `tomcat = 7.0.39`
- `tomcat = 7.0.40`
- `tomcat = 7.0.41`
- `tomcat = 7.0.42`
- `tomcat = 7.0.43`
- `tomcat = 7.0.44`
- `tomcat = 7.0.45`
- `tomcat = 7.0.46`
- `tomcat = 7.0.47`
- `tomcat = 7.0.48`
- `tomcat = 7.0.49`
- `tomcat = 7.0.50`
- `tomcat = 7.0.52`
- `tomcat = 7.0.53`

## Remediation

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