KeygraphLabs · CVE MCP

CVE-2016-8745 · apache

CVE-2016-8745

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.

Published 2017-08-10, last changed 2026-06-17. Weakness: CWE-388.

CVSS
7.5
high, from NVD
EPSS
16.0%
percentile 97.0%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.apache.tomcat:tomcat-util 6.0.50, 7.0.75, 8.0.41, 8.5.9, 9.0.0.M14 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in apache/tomcat by 143bb466cf, 16a57bc885, cbc9b18a84. Functions changed by the fix: processSendfile. Regression tests: test/org/apache/catalina/connector/TestSendFile.java. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-08-10Published
2022-05-14Package advisory GHSA-w3j5-q8f2-3cqq
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 16.0%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-w3j5-q8f2-3cqqorg.apache.tomcat:tomcat-util (Maven)9.0.0.M14
GHSA-w3j5-q8f2-3cqqorg.apache.tomcat:tomcat-util (Maven)8.5.9
GHSA-w3j5-q8f2-3cqqorg.apache.tomcat:tomcat-util (Maven)8.0.41
GHSA-w3j5-q8f2-3cqqorg.apache.tomcat:tomcat-util (Maven)7.0.75
GHSA-w3j5-q8f2-3cqqorg.apache.tomcat:tomcat-util (Maven)6.0.50

Also known as: GHSA-w3j5-q8f2-3cqq

Related

CVEPublishedCVSSSummary
CVE-2026-534342026-06-299.1Apache Tomcat: Invalid CRL configuration doesn't trigger failure for FFM Connector
CVE-2023-427952023-10-105.3Apache Tomcat: Failure during request clean-up leads to sensitive data leaking to subsequent requests
CVE-2022-451432023-01-037.5Apache Tomcat: JsonErrorReportValve escaping
CVE-2014-00992014-05-314.3same package: org.apache.tomcat:tomcat-util (Maven)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-8745, or call /api/v1/vulnerabilities/CVE-2016-8745. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org