Every CVE Search/ Get API key

CVE-2016-9878

Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized

7.5 HighFix available

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

4.91%Up 3.4 points since Feb 4, 2022
90%50%10%1%

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 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
org.springframework:spring-webmvc
Maven
before 3.2.18
3.2.18
org.springframework:spring-webmvc
Maven
4.2.0 up to 4.2.9
4.2.9
org.springframework:spring-webmvc
Maven
4.3.0 up to 4.3.5
4.3.5
org.springframework:spring-beans
TuxCare: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-context
TuxCare: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-core
TuxCare: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-expression
TuxCare: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-web
TuxCare: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-webmvc
TuxCare: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-beans
TuxCare: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
Affected packages
PackageAffectedFixed
org.springframework:spring-context
TuxCare: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-core
TuxCare: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-expression
TuxCare: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-oxm
TuxCare: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-web
TuxCare: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-webmvc
TuxCare: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-core
TuxCare: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-expression
TuxCare: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-webmvc
TuxCare: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-core
TuxCare: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-messaging
TuxCare: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-webmvc
TuxCare: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-java
Debian:12
before 4.3.5-1
4.3.5-1
libspring-java
Debian:13
before 4.3.5-1
4.3.5-1
libspring-java
Debian:14
before 4.3.5-1
4.3.5-1
libspring-java
Debian: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-webmvc
Maven
before 3.2.18, plus listed versions
1.01.0-rc11.0.11.11.1-rc1
Show 45 moreShow less
1.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-webmvc
Maven
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 less
4.2.5.RELEASE4.2.6.RELEASE4.2.7.RELEASE4.2.8.RELEASE
4.2.9
org.springframework:spring-webmvc
Maven
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-java
Ubuntu: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-java
Ubuntu: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-java
Ubuntu: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-java
Ubuntu: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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 21 moreShow less
This page doesn't list everything

Left out here: 30 versions. The JSON record has them.

MoveEnter Open