{"id":"CVE-2026-1605","aliases":["GHSA-xxh7-fcf3-rj7f"],"url":"https://o3.security/vulnerability/CVE-2026-1605","summary":"The Eclipse Jetty Server Artifact has a Gzip request memory leak ","details":"### Description (as reported)\n\nThere 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.\n\nThe 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.\n\nIn 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.\n\nCode path in `GzipHandler.handle()`:\n1. Line 601: `GzipRequest` is created when request inflation is needed.\n2. Lines 611-616: The callback is only wrapped in `GzipResponseAndCallback` when both inflation and deflation are needed.\n3. Lines 619-625: If the handler accepts the request (returns true), `gzipRequest.destroy()` is only called in the \"request not accepted\" path (returns false)\n\nWhen 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.\n\nPossible fix:\nThe 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.\n\n\n### Impact\nThe leak causes the JVM to crash with OOME.\n\n### Patches\nNo patches yet.\n\n### Workarounds\nDisable `GzipHandler`.\n\n### References\nhttps://github.com/jetty/jetty.project/issues/14260\n\nhttps://gitlab.eclipse.org/security/cve-assignment/-/issues/79","published":"2026-03-05T09:39:01.315Z","modified":"2026-10-28T02:31:06.524141673Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.eclipse.jetty:jetty-server","fixedVersion":"12.1.6"},{"ecosystem":"Maven","name":"org.eclipse.jetty:jetty-server","fixedVersion":"12.0.32"}],"fix":null,"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1605.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:21772"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25089"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25125"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25126"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60239"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60246"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60247"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60248"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60249"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60250"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60251"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60252"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60254"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60256"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60259"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:8509"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-1605"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1605.json"},{"type":"ADVISORY","url":"https://github.com/jetty/jetty.project/security/advisories/GHSA-xxh7-fcf3-rj7f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1605"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2444815"},{"type":"PACKAGE","url":"https://github.com/jetty/jetty.project"},{"type":"WEB","url":"https://github.com/jetty/jetty.project/issues/14260"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/cve-assignment/-/issues/79"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:06.524141673Z"}}