Netty Codec HAProxy Header Length Miscalc Leads to TLV Injection/DoS
CVE-2026-142456 Published on December 2, 2026
Io.netty/netty-codec-haproxy: netty: nested haproxy ssl tlvs re-encode with inconsistent proxy v2 length (tlv injection/desync)
A flaw was found in netty-codec-haproxy. When processing PROXY v2 header messages containing nested Secure Sockets Layer (SSL) Type-Length-Value (TLV) entries, the encoder incorrectly calculates message length fields. A remote attacker can exploit this issue by sending a specially crafted header, causing downstream decoders to misinterpret trailing application data as header metadata. This allows an attacker to inject unauthorized proxy metadata or cause a denial of service by disrupting downstream connection streams.
Vulnerability Analysis
CVE-2026-142456 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, a high impact on integrity, and a small impact on availability.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
What is a length manipulation Vulnerability?
The software parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data. If an attacker can manipulate the length parameter associated with an input such that it is inconsistent with the actual length of the input, this can be leveraged to cause the target application to behave in unexpected, and possibly, malicious ways. One of the possible motives for doing so is to pass in arbitrarily large input to the application. Another possible motivation is the modification of application state by including invalid data for subsequent properties of the application. Such weaknesses commonly lead to attacks such as buffer overflows and execution of arbitrary code.
CVE-2026-142456 has been classified to as a length manipulation vulnerability or weakness.
Products Associated with CVE-2026-142456
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
Red Hat Exploit Intelligence: Red Hat OpenShift Serverless: Red Hat OpenShift Serverless: Red Hat OpenShift Serverless: Red Hat OpenShift Serverless: Red Hat OpenShift Serverless: Red Hat OpenShift Serverless: Red Hat OpenShift Serverless: Red Hat OpenShift Serverless: Red Hat OpenShift Serverless: Red Hat OpenShift Serverless: Red Hat AMQ Broker 7: Red Hat build of Apache Camel 4 for Quarkus 3: Red Hat build of Apache Camel for Spring Boot 4: Red Hat build of Apicurio Registry 3: Red Hat build of Debezium 3: Red Hat Build of Keycloak: Red Hat Build of Keycloak: Red Hat Build of Keycloak: Red Hat build of Quarkus: Red Hat OpenShift AI (RHOAI): Red Hat OpenShift Dev Spaces: Red Hat Satellite 6: Red Hat streams for Apache Kafka 3: Red Hat streams for Apache Kafka 3: Red Hat streams for Apache Kafka 3: Red Hat streams for Apache Kafka 3:Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.