# CVE-2016-5007

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2017-05-25 · Modified: 2024-08-06
- Aliases: UBUNTU-CVE-2016-5007, DEBIAN-CVE-2016-5007, GHSA-8crv-49fr-2h6j
- Record: https://cvemate.com/vulnerability/CVE-2016-5007 · JSON: https://cvemate.com/vulnerability/CVE-2016-5007/json

## Description

```text
Both Spring Security 3.2.x, 4.0.x, 4.1.0 and the Spring Framework 3.2.x, 4.0.x, 4.1.x, 4.2.x rely on URL pattern mappings for authorization and for mapping requests to controllers respectively. Differences in the strictness of the pattern matching mechanisms, for example with regards to space trimming in path segments, can lead Spring Security to not recognize certain paths as not protected that are in fact mapped to Spring MVC controllers that should be protected. The problem is compounded by the fact that the Spring Framework provides richer features with regards to pattern matching as well as by the fact that pattern matching in each Spring Security and the Spring Framework can easily be customized creating additional differences.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 2.802%, percentile 86.931%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libspring-java (Debian): \< 4.3.2-1
- ubuntu libspring-java (Ubuntu): All versions (No fix recorded)
- org.springframework spring-core (Maven): \< 4.3.1
- org.springframework.security spring-security-core (Maven): \< 4.1.1
- pivotal\_software spring\_framework: 3.2.0 \| 4.0.0 \| 4.1.0 \| 4.2.0
- pivotal spring framework: ≥ 3.2.0, \< 3.3.0 \| ≥ 4.0.0, \< 4.1.0 \| ≥ 4.1.0, \< 4.2.0 \| ≥ 4.2.0, \< 4.3.0 \| older unsupported versions are also affected
- pivotal spring security: ≥ 3.2.0, \< 3.3.0 \| ≥ 4.0.0, \< 4.1.0 \| 4.1.0
- vmware spring\_framework: 3.2.1 \| 3.2.2 \| 3.2.3 \| 3.2.4 \| 3.2.5 \| 3.2.6 \| 3.2.7 \| 3.2.8 \| 3.2.9 \| 3.2.10 \| 3.2.11 \| 3.2.12 \| 3.2.13 \| 3.2.14 \| 3.2.15 \| 3.2.16 \| 3.2.17 \| 3.2.18 \| 4.0.1 \| 4.0.2 \| 4.0.3 \| 4.0.4 \| 4.0.5 \| 4.0.6 \| 4.0.7 \| 4.0.8 \| 4.0.9 \| 4.1.1 \| 4.1.2 \| 4.1.3 \| 4.1.4 \| 4.1.5 \| 4.1.6 \| 4.1.7 \| 4.1.8 \| 4.1.9 \| 4.2.1 \| 4.2.2 \| 4.2.3 \| 4.2.4 \| 4.2.5 \| 4.2.6 \| 4.2.7 \| 4.2.8 \| 4.2.9
- vmware spring\_security: 3.2.0 \| 3.2.1 \| 3.2.2 \| 3.2.3 \| 3.2.4 \| 3.2.5 \| 3.2.6 \| 3.2.7 \| 3.2.8 \| 3.2.9 \| 3.2.10 \| 4.0.0 \| 4.0.1 \| 4.0.2 \| 4.0.3 \| 4.0.4 \| 4.1.0

## References

- <http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html>
- <http://www.securityfocus.com/bid/91687>
- <https://pivotal.io/security/cve-2016-5007>
- <https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html>
- <https://ubuntu.com/security/CVE-2016-5007>
- <https://www.cve.org/CVERecord?id=CVE-2016-5007>
- <https://security-tracker.debian.org/tracker/CVE-2016-5007>
- <https://nvd.nist.gov/vuln/detail/CVE-2016-5007>
- <https://github.com/spring-projects/spring-security/issues/3964>
- <https://github.com/spring-projects/spring-framework/commit/a30ab30e4e9ae021fdda04e9abfc228476b846b5>
- <https://github.com/spring-projects/spring-security/commit/e4c13e3c0ee7f06f59d3b43ca6734215ad7d8974>
- <https://github.com/advisories/GHSA-8crv-49fr-2h6j>

---

Data as of 2026-12-05T03:50:12.054Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
