CVE-2016-8745
Concurrent Execution using Shared Resource with Improper Synchronization in Apache Tomcat
Reported by apache · Published August 10, 2017
tomcat-catalina is fixed in 9.0.0.M13, 8.5.8, 8.0.41 and 2 more (Maven Central)
A bug in the error handling of the send file code for the NIO HTTP connector in Apache Tomcat 9.0.0.M1 to 9.0.0.M13, 8.5.0 to 8.5.8, 8.0.0.RC1 to 8.0.39, 7.0.0 to 7.0.73 and 6.0.16 to 6.0.48 resulted in the current Processor object being added to the Processor cache multiple times. This in turn meant that the same Processor could be used for concurrent requests. Sharing a Processor can result in information leakage between requests including, not not limited to, session ID and the response body. The bug was first noticed in 8.5.x onwards where it appears the refactoring of the Connector code for 8.5.x onwards made it more likely that the bug was observed. Initially it was thought that the 8.5.x refactoring introduced the bug but further investigation has shown that the bug is present in all currently supported Tomcat versions.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat-catalina | Maven Central | 9.0.0.M13, 8.5.8, 8.0.41, 7.0.75, 6.0.50 |
| org.apache.tomcat:tomcat-util | Maven Central | 9.0.0.M14, 8.5.9, 8.0.41, 7.0.75, 6.0.50 |
| org.apache.tomcat.embed:tomcat-embed-core | Maven Central | 8.5.8, 8.0.39, 7.0.73, 7.0.50, 7.0.9 |
| tomcat7 | Ubuntu:16.04:LTS | 7.0.68-1ubuntu0.3 |
| tomcat7 | Ubuntu:14.04:LTS | 7.0.52-1ubuntu0.8 |
| tomcat8 | Ubuntu:16.04:LTS | 8.0.32-1ubuntu1.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 9.0.0.M1 to 9.0.0.M13, 8.5.0 to 8.5.8, 8.0.0.RC1 to 8.0.39 |
| Maven | org.apache.tomcat:tomcat-catalina | 6.0.16, 9.0.0.M1, 8.5.0 |
| Apache Software Foundation | Apache Tomcat | 8.0.0.RC1, 9.0.0.M1, 8.5.0 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 7.0.11, 9.0.0, 8.5.0 |
Timeline
- Jan 13, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Oct 24, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (9 in total, the first dated here)
- Mar 5, 2026 Security Advisory (12 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-8745
vulnetix vdb fixes CVE-2016-8745
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-8745/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 94828 vdb-entryx_refsource_BID
- 1037432 vdb-entryx_refsource_SECTRACK
- GLSA-201705-09 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2017:0935 vendor-advisoryx_refsource_REDHAT
- DSA-3754 vendor-advisoryx_refsource_DEBIAN
- RHSA-2017:0457 vendor-advisoryx_refsource_REDHAT
- DSA-3755 vendor-advisoryx_refsource_DEBIAN
- RHSA-2017:0455 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0527 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0456 vendor-advisoryx_refsource_REDHAT
- [announce] 20170105 [SECURITY][UPDATE] CVE-2016-8745 Apache Tomcat Information Disclosure mailing-listx_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [23/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [21/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [17/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
…and 29 more