CVE-2026-137505 in actix-httpinfo

Summary

by MITRE • 11/26/2026

actix-http before 3.20.4 contains a response desynchronization vulnerability in its HTTP/1 client response decoder, which reads bodies on 1xx, 204 and 304 responses based on Content-Length or Transfer-Encoding headers. Servers sending such responses with framing headers cause awc clients to consume subsequent keep-alive responses, causing request failures or misattributing responses across users in proxies.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified in actix-http versions prior to 3.20.4 represents a critical HTTP/1 response desynchronization issue within the client-side decoder logic. This flaw specifically affects how the library processes informational and certain success or no-content status codes, namely 1xx, 204 No Content, and 304 Not Modified responses. Under normal HTTP protocol specifications, these specific status codes indicate that there is no message body to be transmitted in the response payload. However, the vulnerable implementation incorrectly attempts to parse and consume a body for these responses if framing headers such as Content-Length or Transfer-Encoding are present in the server's reply. This deviation from standard behavior creates a fundamental mismatch between the client’s internal state machine and the actual data stream received from the server.

The technical root cause lies in the failure of the HTTP/1 decoder to strictly enforce RFC 7230 requirements regarding message framing for these specific status codes. When a server sends a response with one of these statuses along with headers that imply body content, such as Content-Length greater than zero or Transfer-Encoding set to chunked, the actix-http client proceeds to read and discard bytes from the connection stream based on those header values. This action consumes data that belongs to subsequent messages in the same persistent TCP connection. In environments utilizing HTTP keep-alive connections, which are standard for performance optimization, this premature consumption of payload data leads directly to state desynchronization between the client and the server.

The operational impact of this vulnerability is severe, particularly in high-throughput or proxy-heavy architectures where connection reuse is prevalent. Because the client consumes bytes intended for the next request-response cycle, subsequent requests sent over the same keep-alive connection will receive corrupted data or fail entirely as the decoder attempts to interpret misaligned stream segments. In single-user scenarios, this typically manifests as intermittent request failures and timeouts. However, in multi-tenant proxy environments where multiple logical users share a single physical TCP connection via HTTP/1 pipelining or aggressive keep-alive policies, the consequences are even more critical. The desynchronization can cause responses intended for one user to be misattributed to another, leading to data leakage across session boundaries and significant integrity violations.

This vulnerability aligns with CWE-20 Improper Input Validation, as the client fails to correctly validate whether a body should exist based on the status code before parsing framing headers. Furthermore, it maps to MITRE ATT&CK technique T1537, which involves communication through distributed platforms or protocols where state management is complex, although more specifically it reflects issues related to HTTP request smuggling and desynchronization attacks often categorized under CWE-440 if exploited for response splitting or data confusion. The lack of strict adherence to protocol constraints allows an attacker controlling a malicious server to manipulate the client’s internal buffer pointers, effectively poisoning the connection state.

Mitigation strategies primarily involve upgrading the actix-http library to version 3.20.4 or later, where this logic has been corrected to strictly ignore body content for 1xx, 204, and 304 responses regardless of framing headers present in the response. For organizations unable to immediately upgrade their dependencies, implementing a reverse proxy such as Nginx or Apache HTTP Server can provide a layer of isolation by terminating keep-alive connections from clients and establishing new connections to backend servers for each request. This prevents the desynchronization from propagating through shared persistent connections. Additionally, security teams should monitor logs for unusual patterns of connection resets or misattributed responses in proxy environments, as these may indicate active exploitation attempts targeting this specific implementation flaw.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00535

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!