Undertow OutOfMemory when parsing form data encoding with application/x-www-form-urlencoded
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | io.undertow:undertow-core | < 2.2.39.Final, >= 2.4.0.Alpha1, < 2.4.0.Beta1, >= 2.3.0.Alpha1, < 2.3.21.Final | 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-3884
- https://github.com/undertow-io/undertow/pull/1894
- https://github.com/undertow-io/undertow/pull/1882
- https://github.com/undertow-io/undertow/pull/1860
- https://github.com/undertow-io/undertow/pull/1856
- https://github.com/undertow-io/undertow/commit/cb854c779b9e2368c3c274ebd7217c8e75d505be
- https://github.com/undertow-io/undertow/releases/tag/2.4.0.Beta1
- https://github.com/undertow-io/undertow/releases/tag/2.3.21.Final
- https://github.com/undertow-io/undertow/releases/tag/2.2.39.Final
- https://github.com/undertow-io/undertow
- https://bugzilla.redhat.com/show_bug.cgi?id=2275287
- https://access.redhat.com/security/cve/CVE-2024-3884
- https://access.redhat.com/errata/RHSA-2026:6012
- https://access.redhat.com/errata/RHSA-2026:6011
- https://access.redhat.com/errata/RHSA-2026:4924
- https://access.redhat.com/errata/RHSA-2026:4917
- https://access.redhat.com/errata/RHSA-2026:4916
- https://access.redhat.com/errata/RHSA-2026:4915
- https://access.redhat.com/errata/RHSA-2026:3892
- https://access.redhat.com/errata/RHSA-2026:3891
- https://access.redhat.com/errata/RHSA-2026:3889
- https://access.redhat.com/errata/RHSA-2026:0386
- https://access.redhat.com/errata/RHSA-2026:0384
- https://access.redhat.com/errata/RHSA-2026:0383
- https://access.redhat.com/errata/RHSA-2025:3992
- https://access.redhat.com/errata/RHSA-2025:3990
- https://access.redhat.com/errata/RHSA-2025:22777
- https://access.redhat.com/errata/RHSA-2025:22775
- https://access.redhat.com/errata/RHSA-2025:22773
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
io.undertow:undertow-core- Disclosed
- 03.12.2025
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-6h4f-pj3g-q8fq - CC BY 4.0
Vulnerability history: io.undertow:undertow-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 39
- First → latest
- 10.2018 03.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 4
- High 19
- Medium 16
Disclosures per year
- 2018: 2
- 2019: 2
- 2020: 0
- 2021: 4
- 2022: 16
- 2023: 2
- 2024: 8
- 2025: 2
- 2026: 3
-
Undertow OutOfMemory when parsing form data encoding with application/x-www-form-urlencoded this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.