CVE-2016-9878
Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
- Record
CVE-2016-9878- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
- Record
CVE-2016-9878- Updated
- 2026-11-02
EUVDEUVD-2018-0477 No score
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
- Record
EUVD-2018-0477- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2m8h-fgr8-2q9w
7.5
Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
- Record
GHSA-2m8h-fgr8-2q9w- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
7.5
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
- Record
CVE-2016-9878- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-9878
7.5
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
- Record
DEBIAN-CVE-2016-9878- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 7 moreShow less
OSVGHSA-2m8h-fgr8-2q9w
7.5
Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
- Record
GHSA-2m8h-fgr8-2q9w- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-9878
7.5
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
- Record
UBUNTU-CVE-2016-9878- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVCLSA-2025-1760313981 No score
TuxCare security update for org.springframework (25 CVEs)
TuxCare rebuilt 6 org.springframework packages to address 25 CVEs. Fixed in 4.0.0.RELEASE-tuxcare.1.
- Record
CLSA-2025-1760313981- Updated
- 2026-11-02
OSVCLSA-2025-1760313986 No score
TuxCare security update for org.springframework (29 CVEs)
TuxCare rebuilt 7 org.springframework packages to address 29 CVEs. Fixed in 3.1.1.RELEASE-tuxcare.1.
- Record
CLSA-2025-1760313986- Updated
- 2026-11-02
OSVCLSA-2026-1779842933 No score
TuxCare security update for org.springframework (3 CVEs)
TuxCare rebuilt 3 org.springframework packages to address 3 CVEs. Fixed in 3.0.5.RELEASE-tuxcare.2.
- Record
CLSA-2026-1779842933- Updated
- 2026-11-02
OSVCLSA-2026-1784769546 No score
TuxCare security update for org.springframework (3 CVEs)
TuxCare rebuilt 3 org.springframework packages to address 3 CVEs. Fixed in 4.3.4.RELEASE-tuxcare.1.
- Record
CLSA-2026-1784769546- Updated
- 2026-11-02
OSVUSN-4774-1 No score
libspring-java vulnerabilities
Toshiaki Maki discovered that Spring Framework incorrectly handled certain XML files. A remote attacker could exploit this with a crafted XML file to cause a denial of service. (CVE-2015-3192)
Alvaro Muñoz discovered that Spring Framework incorrectly handled certain URLs. A remote attacker could possibly use this issue to cause a reflected file download. (CVE-2015-5211)
It was discovered that Spring Framework did not properly sanitize path inputs. An attacker could possibly use this issue to read arbitrary files, resulting in a directory traversal attack (CVE-2016-9878)
It was discovered that Spring Framework incorrectly handled XML documents. An attacker could possibly use this issue to generate an XML external entity attack, resulting in a denial of service, disclosure of information or other unspecified impact. This issue only affected Ubuntu 14.04 ESM. (CVE-2014-0225)
It was discovered that Spring Framework incorrectly handled certain URLs. A remote attacker could possibly use this issue to read arbitrary files, resulting in a directory traversal attack. This issue only affected Ubuntu 14.04 ESM. (CVE-2014-3625, CVE-2014-3578)
- Record
USN-4774-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.springframework:spring-webmvcMaven |
before 3.2.18 | 3.2.18 |
org.springframework:spring-webmvcMaven |
4.2.0 up to 4.2.9 | 4.2.9 |
org.springframework:spring-webmvcMaven |
4.3.0 up to 4.3.5 | 4.3.5 |
org.springframework:spring-beansTuxCare:Maven From an advisory covering 25 CVEs |
4.0.0.RELEASE up to 4.0.0.RELEASE-tuxcare.1 | 4.0.0.RELEASE-tuxcare.1 |
org.springframework:spring-contextTuxCare:Maven From an advisory covering 25 CVEs |
4.0.0.RELEASE up to 4.0.0.RELEASE-tuxcare.1 | 4.0.0.RELEASE-tuxcare.1 |
org.springframework:spring-coreTuxCare:Maven From an advisory covering 25 CVEs |
4.0.0.RELEASE up to 4.0.0.RELEASE-tuxcare.1 | 4.0.0.RELEASE-tuxcare.1 |
org.springframework:spring-expressionTuxCare:Maven From an advisory covering 25 CVEs |
4.0.0.RELEASE up to 4.0.0.RELEASE-tuxcare.1 | 4.0.0.RELEASE-tuxcare.1 |
org.springframework:spring-webTuxCare:Maven From an advisory covering 25 CVEs |
4.0.0.RELEASE up to 4.0.0.RELEASE-tuxcare.1 | 4.0.0.RELEASE-tuxcare.1 |
org.springframework:spring-webmvcTuxCare:Maven From an advisory covering 25 CVEs |
4.0.0.RELEASE up to 4.0.0.RELEASE-tuxcare.1 | 4.0.0.RELEASE-tuxcare.1 |
org.springframework:spring-beansTuxCare:Maven From an advisory covering 29 CVEs |
3.1.1.RELEASE up to 3.1.1.RELEASE-tuxcare.1 | 3.1.1.RELEASE-tuxcare.1 |
Show 23 moreShow less
| Package | Affected | Fixed |
|---|---|---|
org.springframework:spring-contextTuxCare:Maven From an advisory covering 29 CVEs |
3.1.1.RELEASE up to 3.1.1.RELEASE-tuxcare.1 | 3.1.1.RELEASE-tuxcare.1 |
org.springframework:spring-coreTuxCare:Maven From an advisory covering 29 CVEs |
3.1.1.RELEASE up to 3.1.1.RELEASE-tuxcare.1 | 3.1.1.RELEASE-tuxcare.1 |
org.springframework:spring-expressionTuxCare:Maven From an advisory covering 29 CVEs |
3.1.1.RELEASE up to 3.1.1.RELEASE-tuxcare.1 | 3.1.1.RELEASE-tuxcare.1 |
org.springframework:spring-oxmTuxCare:Maven From an advisory covering 29 CVEs |
3.1.1.RELEASE up to 3.1.1.RELEASE-tuxcare.1 | 3.1.1.RELEASE-tuxcare.1 |
org.springframework:spring-webTuxCare:Maven From an advisory covering 29 CVEs |
3.1.1.RELEASE up to 3.1.1.RELEASE-tuxcare.1 | 3.1.1.RELEASE-tuxcare.1 |
org.springframework:spring-webmvcTuxCare:Maven From an advisory covering 29 CVEs |
3.1.1.RELEASE up to 3.1.1.RELEASE-tuxcare.1 | 3.1.1.RELEASE-tuxcare.1 |
org.springframework:spring-coreTuxCare:Maven From an advisory covering 3 CVEs |
3.0.5.RELEASE up to 3.0.5.RELEASE-tuxcare.2, plus listed versions 3.0.5.RELEASE-tuxcare.1 |
3.0.5.RELEASE-tuxcare.2 |
org.springframework:spring-expressionTuxCare:Maven From an advisory covering 3 CVEs |
3.0.5.RELEASE up to 3.0.5.RELEASE-tuxcare.2, plus listed versions 3.0.5.RELEASE-tuxcare.1 |
3.0.5.RELEASE-tuxcare.2 |
org.springframework:spring-webmvcTuxCare:Maven From an advisory covering 3 CVEs |
3.0.5.RELEASE up to 3.0.5.RELEASE-tuxcare.2, plus listed versions 3.0.5.RELEASE-tuxcare.1 |
3.0.5.RELEASE-tuxcare.2 |
org.springframework:spring-coreTuxCare:Maven From an advisory covering 3 CVEs |
4.3.4.RELEASE up to 4.3.4.RELEASE-tuxcare.1 | 4.3.4.RELEASE-tuxcare.1 |
org.springframework:spring-messagingTuxCare:Maven From an advisory covering 3 CVEs |
4.3.4.RELEASE up to 4.3.4.RELEASE-tuxcare.1 | 4.3.4.RELEASE-tuxcare.1 |
org.springframework:spring-webmvcTuxCare:Maven From an advisory covering 3 CVEs |
4.3.4.RELEASE up to 4.3.4.RELEASE-tuxcare.1 | 4.3.4.RELEASE-tuxcare.1 |
libspring-javaDebian:12 |
before 4.3.5-1 | 4.3.5-1 |
libspring-javaDebian:13 |
before 4.3.5-1 | 4.3.5-1 |
libspring-javaDebian:14 |
before 4.3.5-1 | 4.3.5-1 |
libspring-javaDebian:8 From an advisory covering 5 CVEs |
before 3.0.6.RELEASE-17+deb8u1, plus listed versions 3.0.6.RELEASE-17 |
3.0.6.RELEASE-17+deb8u1 |
org.springframework:spring-webmvcMaven |
before 3.2.18, plus listed versions 1.01.0-rc11.0.11.11.1-rc1 Show 45 moreShow less1.1-rc21.1.11.1.21.1.31.1.41.1.51.21.2-rc11.2-rc21.2.11.2.21.2.31.2.41.2.51.2.61.2.71.2.81.2.92.02.0-m12.0-m22.0-m32.0-m42.0-m52.0-rc12.0-rc22.0.12.0.22.0.32.0.42.0.52.0.62.0.72.0.82.52.5.12.5.22.5.32.5.42.5.52.5.62.5.6.SEC012.5.6.SEC022.5.6.SEC033.0.0.RELEASE |
3.2.18 |
org.springframework:spring-webmvcMaven |
4.2.0 up to 4.2.9, plus listed versions 4.2.0.RELEASE4.2.1.RELEASE4.2.2.RELEASE4.2.3.RELEASE4.2.4.RELEASE Show 4 moreShow less4.2.5.RELEASE4.2.6.RELEASE4.2.7.RELEASE4.2.8.RELEASE |
4.2.9 |
org.springframework:spring-webmvcMaven |
4.3.0 up to 4.3.5, plus listed versions 4.3.0.RELEASE4.3.1.RELEASE4.3.2.RELEASE4.3.3.RELEASE4.3.4.RELEASE |
4.3.5 |
libspring-javaUbuntu:Pro:14.04:LTS |
before 3.0.6.RELEASE-13ubuntu0.1~esm1, plus listed versions 3.0.6.RELEASE-73.0.6.RELEASE-83.0.6.RELEASE-93.0.6.RELEASE-103.0.6.RELEASE-113.0.6.RELEASE-123.0.6.RELEASE-13 |
3.0.6.RELEASE-13ubuntu0.1~esm1 |
libspring-javaUbuntu:Pro:16.04:LTS |
before 3.2.13-5ubuntu0.1~esm1, plus listed versions 3.2.13-33.2.13-43.2.13-5 |
3.2.13-5ubuntu0.1~esm1 |
libspring-javaUbuntu:Pro:14.04:LTS From an advisory covering 6 CVEs |
before 3.0.6.RELEASE-13ubuntu0.1~esm2, plus listed versions 3.0.6.RELEASE-73.0.6.RELEASE-83.0.6.RELEASE-93.0.6.RELEASE-103.0.6.RELEASE-113.0.6.RELEASE-123.0.6.RELEASE-133.0.6.RELEASE-13ubuntu0.1~esm1 |
3.0.6.RELEASE-13ubuntu0.1~esm2 |
libspring-javaUbuntu:Pro:16.04:LTS From an advisory covering 6 CVEs |
before 3.2.13-5ubuntu0.1~esm1, plus listed versions 3.2.13-33.2.13-43.2.13-5 |
3.2.13-5ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-9878 is a high vulnerability (CVSS 7.5) in Pivotal Software Spring Framework, published December 29, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.91%, the 92nd percentile. Fixed in org.springframework:spring-webmvc 3.2.18.
References
securitytracker.com/id/1040698
oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
security.netapp.com/advisory/ntap-20180419-0002
pivotal.io/security/cve-2016-9878
oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
Show 21 moreShow less
securityfocus.com/bid/95072
access.redhat.com/errata/RHSA-2017:3115
lists.debian.org/debian-lts-announce/2019/07/msg00012.html
oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
nvd.nist.gov/vuln/detail/CVE-2016-9878
github.com/advisories/GHSA-2m8h-fgr8-2q9w
github.com/spring-projects/spring-framework/issues/19513
github.com/spring-projects/spring-framework/commit/43bf008fbcd0d7945e2fcd5e30039bc4d74c7a98
github.com/spring-projects/spring-framework/commit/a7dc48534ea501525f11369d369178a60c2f47d0
github.com/spring-projects/spring-framework/commit/e2d6e709c3c65a4951eb096843ee75d5200cfcad
security-tracker.debian.org/tracker/CVE-2016-9878
github.com/spring-projects/spring-framework
ubuntu.com/security/CVE-2016-9878
jira.spring.io/browse/SPR-14946
cve.org/CVERecord?id=CVE-2016-9878
ubuntu.com/security/notices/USN-4774-1
ubuntu.com/security/CVE-2014-0225
ubuntu.com/security/CVE-2014-3578
ubuntu.com/security/CVE-2014-3625
ubuntu.com/security/CVE-2015-3192
ubuntu.com/security/CVE-2015-5211
Left out here: 30 versions. The JSON record has them.