Vulnerability · Netty io.netty:netty-codec-http (SPDY codec, SpdyHttpDecoder) · updated

CVE-2026-142443: memory exhaustion DoS in the Netty SPDY codec (netty-codec-http)

A remote attacker with no login can crash a Java service by filling its memory from a single connection. This only works if the service explicitly turns on Netty's SPDY support. No data is read or changed, but the whole service process goes down.

FixReleased
ExploitationNone reported
Public exploit codeYes
CISA KEVNot listed
Severity7.5 (CVSS 3.1, CNA)

Quick answers

What is CVE-2026-142443?

CVE-2026-142443 (CVE-2026-142443) is a vulnerability in Netty io.netty:netty-codec-http (SPDY codec, SpdyHttpDecoder). A remote attacker with no login can crash a Java service by filling its memory from a single connection. This only works if the service explicitly turns on Netty's SPDY support. No data is read or changed, but the whole service process goes down.

Am I affected by CVE-2026-142443?

CVE-2026-142443 affects Java applications that use io.netty:netty-codec-http 4.2.0.Final through 4.2.18.Final, or 4.1.138.Final and earlier, and that explicitly enable Netty's SPDY codec (SpdyHttpDecoder together with SpdyFrameCodec and SpdySessionHandler). Netty and Red Hat both say applications that do not enable the SPDY codec are not exposed. Fixed versions are 4.2.19.Final and 4.1.139.Final. Whether Keycloak or other vendor products are affected is not published in the sources we reviewed.

Which versions fix CVE-2026-142443?

io.netty:netty-codec-http 4.2.x: 4.2.19.Final; io.netty:netty-codec-http 4.1.x: 4.1.139.Final; Keycloak (our watchlist): Not published yet

Is CVE-2026-142443 being exploited?

No exploitation in the wild has been reported; it is not in the CISA KEV catalog. Public exploit code exists.

Is there a workaround for CVE-2026-142443?

Fix for CVE-2026-142443: upgrade io.netty:netty-codec-http to 4.2.19.Final on the 4.2 line or 4.1.139.Final on the 4.1 line. Netty and Red Hat list these as the patched versions for the unbounded header accumulation in the Netty SPDY decoder (SpdyHttpDecoder). Affected versions are 4.2.0.Final through 4.2.18.Final and 4.1.138.Final and earlier. If Netty arrives through a framework or vendor product, update that product to a build that bundles a fixed Netty. If you cannot upgrade yet, the Netty advisory for CVE-2026-142443 suggests three interim measures: do not enable the deprecated Netty SPDY codec, bound the total request size before it reaches the decoder, and terminate connections that send many HEADERS frames without completing a request. Disabling SPDY removes the exposure entirely, since only SPDY-enabled pipelines are affected. Red Hat states that no mitigation currently meets its criteria for ease of use, broad applicability and stability, so treat these as stopgaps until you upgrade. For Keycloak and other vendor products, no product-specific status or fixed build is published in the sources we reviewed. Watch your vendor's advisory for CVE-2026-142443. Until then, keep SPDY listeners off untrusted networks and alert on out-of-memory crashes.

What this means for your business

The entire Java (JVM) process runs out of memory and crashes, so every user of that service loses access, not just the attacker's connection.

The attack is cheap. Netty says a small amount of compressed traffic can pin roughly 16 KiB of memory per frame by default.

The attacker needs no account, no user interaction and only one connection.

Netty and Red Hat state there is no confidentiality or integrity impact. This is an availability problem only.

Red Hat rates it Important. The CVSS 3.1 score is 7.5.

Is this about you? CVE-2026-142443 affects Java applications that use io.netty:netty-codec-http 4.2.0.Final through 4.2.18.Final, or 4.1.138.Final and earlier, and that explicitly enable Netty's SPDY codec (SpdyHttpDecoder together with SpdyFrameCodec and SpdySessionHandler). Netty and Red Hat both say applications that do not enable the SPDY codec are not exposed. Fixed versions are 4.2.19.Final and 4.1.139.Final. Whether Keycloak or other vendor products are affected is not published in the sources we reviewed.

Ask your team or provider:

How fast: No exploitation is known and the CVE is not on the CISA KEV list. A proof of concept is published in the Netty advisory. If you run an internet-facing service with SPDY enabled, upgrade or disable SPDY this week. If SPDY is not enabled anywhere, include the Netty upgrade in your next normal dependency update.

Not sure if you are exposed?

We check your servers and containers with read-only access, tell you what is exposed, and patch it in a window you approve.

For engineers

LineAffectedFixed in
io.netty:netty-codec-http 4.2.x>= 4.2.0.Final, <= 4.2.18.Final4.2.19.Final
io.netty:netty-codec-http 4.1.x<= 4.1.138.Final4.1.139.Final
Keycloak (our watchlist)Not published in the sources we reviewedNot published yet

The sources disagree on fix status: the GitHub advisory header and Red Hat Bugzilla list 4.2.19.Final and 4.1.139.Final as patched, while the advisory's report text says "Fix status: not fixed" and that no fixed release exists on any line, which reads like text written before the fix shipped. We treat the listed patched versions as fixed, but confirm them on Maven Central before you roll out. Netty could not pin when the flaw was introduced; it calls the code long-standing. Red Hat often backports fixes without changing the version number, so a Red Hat-built package may be fixed even if the version looks old. Red Hat's per-product status table is not in our sources.

When it can be exploited

Check if you are affected

# 1. Maven: which netty-codec-http version is resolved (read-only)
mvn dependency:tree -Dincludes=io.netty:netty-codec-http

# 2. Gradle: same check
./gradlew dependencies --configuration runtimeClasspath | grep netty-codec-http

# 3. Find Netty jars on a host or inside a running container filesystem
find / -name 'netty-codec-http-*.jar' 2>/dev/null

# 4. Look for SPDY classes inside a fat or shaded jar
unzip -l app.jar | grep -i 'codec/spdy'

# 5. Is SPDY actually wired into a pipeline in your code?
grep -rnE 'SpdyHttpDecoder|SpdyFrameCodec|SpdySessionHandler' --include=*.java --include=*.kt --include=*.scala --include=*.groovy .

An affected version on its own is not enough. You are exposed only if the SPDY handlers are in a live pipeline, so the grep in step 5 matters most for your own code. Finding SPDY classes in a jar (step 4) only shows they are present, not that they are used. For vendor products such as Keycloak, rely on the vendor's statement. Red Hat notes that version-only scanners can misreport its backported packages.

If you can't upgrade today

Fix for CVE-2026-142443: upgrade io.netty:netty-codec-http to 4.2.19.Final on the 4.2 line or 4.1.139.Final on the 4.1 line. Netty and Red Hat list these as the patched versions for the unbounded header accumulation in the Netty SPDY decoder (SpdyHttpDecoder). Affected versions are 4.2.0.Final through 4.2.18.Final and 4.1.138.Final and earlier. If Netty arrives through a framework or vendor product, update that product to a build that bundles a fixed Netty. If you cannot upgrade yet, the Netty advisory for CVE-2026-142443 suggests three interim measures: do not enable the deprecated Netty SPDY codec, bound the total request size before it reaches the decoder, and terminate connections that send many HEADERS frames without completing a request. Disabling SPDY removes the exposure entirely, since only SPDY-enabled pipelines are affected. Red Hat states that no mitigation currently meets its criteria for ease of use, broad applicability and stability, so treat these as stopgaps until you upgrade. For Keycloak and other vendor products, no product-specific status or fixed build is published in the sources we reviewed. Watch your vendor's advisory for CVE-2026-142443. Until then, keep SPDY listeners off untrusted networks and alert on out-of-memory crashes.

// Gradle (Kotlin DSL): force the fixed netty-codec-http version
// Use 4.1.139.Final instead if you are on the 4.1 line
dependencies {
    constraints {
        implementation("io.netty:netty-codec-http:4.2.19.Final") {
            because("CVE-2026-142443: unbounded SPDY header accumulation")
        }
    }
}
// Keep the other io.netty modules on the same version, then rebuild and test.

Signs you were already hit

This flaw affects availability only. Netty states there is no confidentiality or integrity impact, so look for outages, not data theft. Signs to check: java.lang.OutOfMemoryError in application logs; JVM heap that grows steadily while a few long-lived connections stay open; container OOM kills or crash-restart loops on SPDY-enabled services; and one client connection holding a stream open for a long time without completing a request. Heap dumps showing a buffered HTTP message with a very large header set inside SpdyHttpDecoder point strongly to this issue. If you see these signs, block the source address and prioritise the upgrade.

Prompt for your coding agent

Paste this into Claude Code, Codex or Cursor, opened in the repository that holds your server and deployment configuration. It only reads and proposes changes; review the diff before you apply it.

You are reviewing this repository for exposure to CVE-2026-142443, a denial of service in Netty's SPDY codec (io.netty:netty-codec-http). Affected: 4.2.0.Final through 4.2.18.Final, and 4.1.138.Final and earlier. Fixed: 4.2.19.Final and 4.1.139.Final. Only pipelines that use SpdyHttpDecoder with SpdyFrameCodec and SpdySessionHandler are exposed. Do this, read-only: 1) Find every build file and lockfile (pom.xml, build.gradle, build.gradle.kts, gradle.lockfile, version catalogs, BOM imports) and report which io.netty:netty-codec-http version each module resolves, including transitive versions where you can determine them without network changes. 2) Search the source for SpdyHttpDecoder, SpdyFrameCodec, SpdySessionHandler and any other io.netty.handler.codec.spdy usage, and report the file, line and whether it is in a live server pipeline. 3) Note any Dockerfiles or bundled vendor products (for example Keycloak) that may ship their own Netty, and say that their status must come from the vendor. 4) Propose a minimal diff that moves netty-codec-http to the fixed version on its current line (4.2.19.Final or 4.1.139.Final) and keeps the other io.netty modules aligned. If SPDY is enabled but not needed, propose a separate diff that removes it. Present the diffs for human review only. Do not apply changes, commit, push, deploy, restart services or run anything against live systems. Do not write code or tests that reproduce the attack. End with a short summary: exposed yes/no/unknown, why, and what a human should verify.

Timeline

  1. Netty publishes advisory GHSA-x436-m93c-g2q9 listing patched versions 4.2.19.Final and 4.1.139.Final.

  2. CVE-2026-142443 published with CVSS 3.1 score 7.5 from the CNA.

  3. Red Hat opens Bugzilla 2588735 and rates the issue Important.

  4. CVE record last modified.

Sources

Checked 2 Dec 2026. We update this page when the vendor, CISA or the distributions change the picture.