# CVE-2024-3884: Undertow: outofmemory when parsing form data encoding with application/x-www-form-urlencoded

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.33% (percentile 84, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-6h4f-pj3g-q8fq
- **Published:** 2025-12-03T18:40:25.606Z
- **Modified:** 2026-11-27T08:16:37.517Z

## Who should check

- Projects that depend on Maven package io.undertow:undertow-core (\< 2.2.39.Final)
- Anyone running Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.4.24 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 9 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 8.0 (versions: see the vendor advisory)

## Description

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 and fixed versions

- Maven `io.undertow:undertow-core`: affected \< 2.2.39.Final; fixed 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final (osv)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4.24: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1.3: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9: all versions (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat OpenShift Serverless: see vendor advisory (cvelist)
- Red Hat build of Apache Camel 4 for Quarkus 3: see vendor advisory (cvelist)
- Red Hat build of Apache Camel for Spring Boot 3: see vendor advisory (cvelist)
- Red Hat build of Apache Camel for Spring Boot 4: see vendor advisory (cvelist)
- Red Hat build of Apache Camel - HawtIO 4: see vendor advisory (cvelist)
- Red Hat build of Apicurio Registry 2: see vendor advisory (cvelist)
- Red Hat Build of Keycloak: see vendor advisory (cvelist)
- Red Hat Build of Keycloak: all versions (cvelist)
- Red Hat build of OptaPlanner 8: see vendor advisory (cvelist)
- Red Hat build of Quarkus: see vendor advisory (cvelist)
- Red Hat build of Quarkus: see vendor advisory (cvelist)
- Red Hat Data Grid 8: see vendor advisory (cvelist)
- Red Hat Fuse 7: see vendor advisory (cvelist)
- Red Hat Fuse 7: all versions (cvelist)
- Red Hat Integration Camel K 1: see vendor advisory (cvelist)
- Red Hat Integration Camel Quarkus 2: see vendor advisory (cvelist)
- Red Hat JBoss Data Grid 7: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform Expansion Pack: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform Expansion Pack: all versions (cvelist)
- Red Hat JBoss Fuse Service Works 6: see vendor advisory (cvelist)
- Red Hat Process Automation 7: see vendor advisory (cvelist)
- Red Hat Single Sign-On 7: see vendor advisory (cvelist)
- Red Hat streams for Apache Kafka: see vendor advisory (cvelist)

## Mitigation

- Upgrade io.undertow:undertow-core to one of 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final (or later in the same release line).
- Vendor workaround: It is possible to mitigate the vulnerability by performing an upper-level verification to ensure the content size sent server side is within the allowed parameters.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-3884. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-3884.md
Affected: io.undertow:undertow-core < 2.2.39.Final
Fixed in: 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final

Steps:
1. Search this machine and project for io.undertow:undertow-core (Maven), Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7, Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7, Red Hat JBoss Enterprise Application Platform 7.4.24, Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7, Red Hat JBoss…: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-3884 being exploited?

There is no confirmed exploitation: CVE-2024-3884 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-3884?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-3884?

io.undertow:undertow-core \< 2.2.39.Final.

### Is there a fix for CVE-2024-3884?

Yes. Fixed in 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final. Upgrade io.undertow:undertow-core to one of 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final (or later in the same release line). Vendor workaround: It is possible to mitigate the vulnerability by performing an upper-level verification to ensure the content size sent server side is within the allowed parameters.

### How do I check if I'm affected by CVE-2024-3884?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:0383>
- vendor: <https://access.redhat.com/errata/RHSA-2026:0384>
- vendor: <https://access.redhat.com/errata/RHSA-2026:0386>
- vendor: <https://access.redhat.com/errata/RHSA-2026:3889>
- vendor: <https://access.redhat.com/errata/RHSA-2026:3891>
- vendor: <https://access.redhat.com/errata/RHSA-2026:3892>
- vendor: <https://access.redhat.com/errata/RHSA-2026:4915>
- vendor: <https://access.redhat.com/errata/RHSA-2026:4916>
- vendor: <https://access.redhat.com/errata/RHSA-2026:4917>
- vendor: <https://access.redhat.com/errata/RHSA-2026:4924>
- vendor: <https://access.redhat.com/errata/RHSA-2026:6011>
- vendor: <https://access.redhat.com/errata/RHSA-2026:6012>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-3884>
- patch: <https://github.com/undertow-io/undertow/pull/1894>
- patch: <https://github.com/undertow-io/undertow/pull/1882>
- patch: <https://github.com/undertow-io/undertow/pull/1860>
- patch: <https://github.com/undertow-io/undertow/pull/1856>
- patch: <https://github.com/undertow-io/undertow/commit/cb854c779b9e2368c3c274ebd7217c8e75d505be>
- other: <https://access.redhat.com/security/cve/CVE-2024-3884>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2275287>
- other: <https://github.com/undertow-io/undertow/releases/tag/2.4.0.Beta1>
- other: <https://github.com/undertow-io/undertow/releases/tag/2.3.21.Final>
- other: <https://github.com/undertow-io/undertow/releases/tag/2.2.39.Final>
- other: <https://github.com/undertow-io/undertow>
- other: <https://access.redhat.com/errata/RHSA-2025:3992>
- other: <https://access.redhat.com/errata/RHSA-2025:3990>
- other: <https://access.redhat.com/errata/RHSA-2025:22777>
- other: <https://access.redhat.com/errata/RHSA-2025:22775>
- other: <https://access.redhat.com/errata/RHSA-2025:22773>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-3884>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6h4f-pj3g-q8fq> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-3884> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-3884>
