Undertow OutOfMemory when parsing form data encoding with application/x-www-form-urlencoded
Published 3 Dec 2025 · Updated 10 Sept 2026
Is your project on an affected io.undertow:undertow-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <2.2.39.Final
- Fixed in
- 2.2.39.Final
mvn versions:use-dep-version -Dincludes=io.undertow:undertow-core -DdepVersion=2.2.39.Final -DforceVersion=true- Affected
- >=2.4.0.Alpha1 <2.4.0.Beta1
- Fixed in
- 2.4.0.Beta1
mvn versions:use-dep-version -Dincludes=io.undertow:undertow-core -DdepVersion=2.4.0.Beta1 -DforceVersion=true- Affected
- >=2.3.0.Alpha1 <2.3.21.Final
- Fixed in
- 2.3.21.Final
mvn versions:use-dep-version -Dincludes=io.undertow:undertow-core -DdepVersion=2.3.21.Final -DforceVersion=trueDetails
A flaw was found in Undertow that can cause remote denial of service attacks. When the server uses the FormEncodedDataDefinition.doParse(StreamSourceChannel) method to parse large form data encoding with application/x-www-form-urlencoded, the method will cause an OutOfMemory issue. This flaw allows unauthorized users to cause a remote denial of service (DoS) attack.
Is GHSA-6h4f-pj3g-q8fq in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected io.undertow:undertow-core, and gives you the command that fixes it.
More advisories for io.undertow:undertow-core
- HighCVE-2026-28367Undertow is Vulnerable to HTTP Request/Response Smuggling · 27 Mar 2026
- HighCVE-2026-28368Undertow is Vulnerable to HTTP Request/Response Smuggling · 27 Mar 2026
- HighCVE-2026-28369Undertow is Vulnerable to HTTP Request/Response Smuggling · 27 Mar 2026
- MediumCVE-2026-3260Undertow: Denial of Service via Multipart/Form-Data Parsing on HTTP GET Requests · 24 Mar 2026
- HighCVE-2024-4027Undertow Servlets Vulnerable to Remote DoS via OutOfMemoryError when Passed Large Parameter Names · 30 Jan 2026
- CriticalCVE-2025-12543Undertow HTTP server core doesn't properly validate the Host header in incoming HTTP requests · 7 Jan 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-3884
- Linkgithub.com/undertow-io/undertow/pull/1894
- Linkgithub.com/undertow-io/undertow/pull/1882
- Linkgithub.com/undertow-io/undertow/pull/1860
- Linkgithub.com/undertow-io/undertow/pull/1856
- Linkgithub.com/undertow-io/undertow/commit/cb854c779b9e2368c3c274ebd7217c8e75d505be
- Linkgithub.com/undertow-io/undertow/releases/tag/2.4.0.Beta1
- Linkgithub.com/undertow-io/undertow/releases/tag/2.3.21.Final
- Linkgithub.com/undertow-io/undertow/releases/tag/2.2.39.Final
- Packagegithub.com/undertow-io/undertow
- Linkbugzilla.redhat.com/show_bug.cgi?id=2275287
- Linkaccess.redhat.com/security/cve/CVE-2024-3884
- Linkaccess.redhat.com/errata/RHSA-2026:6012
- Linkaccess.redhat.com/errata/RHSA-2026:6011
- Linkaccess.redhat.com/errata/RHSA-2026:4924
- Linkaccess.redhat.com/errata/RHSA-2026:4917
- Linkaccess.redhat.com/errata/RHSA-2026:4916
- Linkaccess.redhat.com/errata/RHSA-2026:4915
- Linkaccess.redhat.com/errata/RHSA-2026:3892
- Linkaccess.redhat.com/errata/RHSA-2026:3891
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.