Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-103119 Overview
CVE-2026-103119 is a buffer under-read vulnerability in Apache Tomcat affecting the non-blocking write path. A large non-blocking write can cause response body data to be split between the current request and the next request received on the same connection. This behavior most likely causes failure of the second request and can leak data from the first response into the second response. The flaw is tracked under CWE-127: Buffer Under-read and affects Apache Tomcat versions 11.0.0-M25 through 11.0.26. The Apache Software Foundation has released version 11.0.27 to address the issue.
Critical Impact
Response data from one HTTP request can leak into subsequent requests on the same connection, exposing sensitive information such as session tokens, authentication headers, or application data to unrelated clients.
Affected Products
- Apache Tomcat 11.0.0-M25 through 11.0.26
- Deployments reusing HTTP connections across clients via keep-alive
- Applications relying on Tomcat non-blocking I/O for large response bodies
Discovery Timeline
- 2026-10-20 - CVE-2026-103119 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-103119
Vulnerability Analysis
The vulnerability resides in Apache Tomcat's non-blocking write handling. When an application performs a large non-blocking write using the Servlet 3.1 asynchronous I/O API, Tomcat incorrectly tracks buffer boundaries. The result is a buffer under-read condition where portions of the response body are not fully flushed to the correct response context. On persistent HTTP connections, the next request pipelined over the same connection receives the leftover bytes mixed with its own response. The second request typically fails due to malformed response framing, and in some cases confidential data from the first response is delivered to the client issuing the second request. Because connection reuse spans different clients behind reverse proxies and load balancers, cross-tenant data exposure is a realistic outcome.
Root Cause
The root cause is improper offset or length tracking in the non-blocking write buffer management logic within Tomcat 11.x. The code reads fewer bytes from the response buffer than were actually written, leaving residual data that is later associated with the subsequent request on the same TCP connection. This matches the pattern described by CWE-127, where the software reads from a buffer using an index or pointer that references a location prior to the valid range.
Attack Vector
Exploitation requires network access to a vulnerable Tomcat server and no authentication or user interaction. An attacker triggers a request that generates a large response processed via the non-blocking write path. The attacker then issues a follow-up request on the same keep-alive connection, or opportunistically observes responses on connections reused by shared infrastructure. Because the condition can arise under normal workloads, data leakage may occur without targeted exploitation. See the Apache Mailing List Thread and the Openwall OSS-Security Discussion for upstream details.
No verified public proof-of-concept code is available at the time of publication. The vulnerability mechanism is described in prose above; refer to the Apache advisory for implementation specifics.
Detection Methods for CVE-2026-103119
Indicators of Compromise
- Unexpected HTTP 400 or protocol error responses from Tomcat 11.0.x servers under high-throughput workloads
- Clients receiving response bodies that do not match their request URI or method
- Access log entries showing response sizes that do not align with the originating handler output
- Reverse proxy error logs reporting malformed upstream responses or framing errors
Detection Strategies
- Inventory running Apache Tomcat instances and flag any version from 11.0.0-M25 through 11.0.26
- Review application code paths that call ServletOutputStream.setWriteListener() or perform large asynchronous writes
- Correlate reverse proxy and Tomcat access logs to identify response-size mismatches on reused connections
Monitoring Recommendations
- Monitor Tomcat catalina.out and application logs for IOException and framing errors tied to non-blocking writes
- Alert on anomalous spikes in 5xx responses or dropped connections from load balancers fronting Tomcat
- Track HTTP keep-alive reuse rates and investigate correlated spikes in client-reported response corruption
How to Mitigate CVE-2026-103119
Immediate Actions Required
- Upgrade Apache Tomcat to version 11.0.27 or later, which contains the official fix
- Identify all 11.0.x deployments through configuration management and patch them in prioritized order
- Rotate session tokens, API keys, and credentials that may have been exposed through leaked response bodies
- Review proxy and CDN logs for signs of cross-request data mixing during the exposure window
Patch Information
The Apache Software Foundation fixed CVE-2026-103119 in Apache Tomcat 11.0.27. All users running versions 11.0.0-M25 through 11.0.26 should upgrade immediately. Refer to the Apache Mailing List Thread for the official advisory and release notes.
Workarounds
- Disable HTTP keep-alive on vulnerable Tomcat connectors by setting maxKeepAliveRequests="1" in server.xml until patching is complete
- Avoid or refactor application code paths that perform large non-blocking writes via the Servlet 3.1 async I/O API
- Terminate TLS and HTTP connections at a non-vulnerable reverse proxy that does not reuse upstream connections across clients
# Configuration example: disable connection reuse on the HTTP connector in server.xml
<Connector port="8080"
protocol="HTTP/1.1"
connectionTimeout="20000"
maxKeepAliveRequests="1"
redirectPort="8443" />
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

