CVE-2026-1605: High severity Eclipse Jetty vulnerability

Published Mar 5, 2026
·
Updated

Description (as reported)

There is a memory leak when using GzipHandler in jetty-12.0.30 that can cause off-heap OOMs. This can be used for DoS attacks so I'm reporting this as a vulnerability.

The leak is created by requests where the request is inflated (Content-Encoding: gzip) and the response is not deflated (no Accept-Encoding: gzip). In these conditions, a new inflator will be created by GzipRequest and never released back into GzipRequest.inflaterPool because gzipRequest.destory() is not called.

In heap dumps one can see thousands of java.util.zip.Inflator objects, which use both Java heaps and native memory. Leaking native memory causes of off-heap OOMs.

Code path in GzipHandler.handle(): 1. Line 601: GzipRequest is created when request inflation is needed. 2. Lines 611-616: The callback is only wrapped in GzipResponseAndCallback when both inflation and deflation are needed. 3. Lines 619-625: If the handler accepts the request (returns true), gzipRequest.destroy() is only called in the "request not accepted" path (returns false)

When deflation is needed, GzipResponseAndCallback (lines 102 and 116) properly calls gzipRequest.destroy() in its succeeded() and failed() methods. But this wrapper is only created when deflation is needed.

Possible fix: The callback should be wrapped whenever a GzipRequest is created, not just when deflation is needed. This ensures gzipRequest.destroy() is always called when the request completes.

Impact The leak causes the JVM to crash with OOME.

Patches No patches yet.

Workarounds Disable GzipHandler.

References https://github.com/jetty/jetty.project/issues/14260

https://gitlab.eclipse.org/security/cve-assignment/-/issues/79

Other sources

In Eclipse Jetty, versions 12.0.0-12.0.31 and 12.1.0-12.0.5, class GzipHandler exposes a vulnerability when a compressed HTTP request, with Content-Encoding: gzip, is processed and the corresponding response is not compressed.

This happens because the JDK Inflater is allocated for decompressing the request, but it is not released because the release mechanism is tied to the compressed response. In this case, since the response is not compressed, the release mechanism does not trigger, causing the leak.

MITRE

Affected Software

5 affected componentsFixes available
Eclipse Jetty>=12.0.0<12.0.31, >=12.1.0<12.0.5
maven/org.eclipse.jetty:jetty-server>=12.0.0<=12.0.31
12.0.32
maven/org.eclipse.jetty:jetty-server>=12.1.0<=12.1.5
12.1.6
Eclipse Jetty>=12.0.0<12.0.32
Eclipse Jetty>=12.1.0<12.1.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.eclipse.jetty:jetty-server to a version that resolves this vulnerability.

    Fixed in 12.0.32
  2. Upgrade

    Upgrade maven/org.eclipse.jetty:jetty-server to a version that resolves this vulnerability.

    Fixed in 12.1.6

Event History

Mar 5, 2026
CVE Published
via MITRE·09:39 AM
Data Sourced
via MITRE·09:39 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·11:01 AM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·09:27 PM
Data Sourced
via GitHub·09:27 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-1605?

CVE-2026-1605 is classified as a medium severity vulnerability due to its potential impact on the handling of HTTP requests.

2

How do I fix CVE-2026-1605?

To resolve CVE-2026-1605, upgrade Eclipse Jetty to version 12.0.32 or 12.1.0-12.0.6 or later.

3

What versions of Eclipse Jetty are affected by CVE-2026-1605?

CVE-2026-1605 affects Eclipse Jetty versions 12.0.0 through 12.0.31 and versions 12.1.0 through 12.0.5.

4

What kind of exploit is associated with CVE-2026-1605?

The exploit involves the incorrect processing of gzip-compressed HTTP requests that may lead to issues in response handling.

5

Are there any workarounds for CVE-2026-1605?

As a workaround for CVE-2026-1605, avoid using gzip compression with HTTP requests in affected versions until a patch is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203