Skip to content

Keycloak

Io.netty/netty-codec-haproxy: netty: nested haproxy ssl tlvs re-encode with inconsistent proxy v2 length (tlv injection/desync)

CVE-2026-142456Published 2 Dec 2026, 18:27 UTC

Real-world risk

6.0/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.2

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from redhat)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
KeycloakWidespreadnot stated—
Red Hat OpenShift Container PlatformWidespreadnot stated—
Exploit IntelligenceNichenot stated—
Red Hat AMQ Broker 7Nichenot stated—
Red Hat Satellite 6Nichenot stated—
Red Hat build of Apache Camel 4 for Quarkus 3Nichenot stated—
Red Hat build of Apache Camel for Spring Boot 4Nichenot stated—
Red Hat build of Apicurio Registry 2Nichenot stated—
Red Hat build of Debezium 2Nichenot stated—
Red Hat build of QuarkusNichenot stated—
streams for Apache Kafka 3Nichenot stated—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.7 × prerequisites 1 × threat 0.855.950
  4. Rounded to one decimal between 0.1 and 106.0

How the score works

Exploitation and evidence timeline

  1. 2 Dec 2026 Published
  2. 2 Dec 2026 Risk 6.0 (cvss fallback)

Weakness

CWE-130

References

Get alerts for Keycloak

Free email or text alerts when a vulnerability in Keycloak reaches risk 8 or higher. Nothing else.