CVE-2026-111115: Apache Kafka: Broker OutOfMemoryError via tagged-field allocation amplification in flexible protocol request parsing
CVE-2026-111115 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.5 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H· base score 9.1, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: none. Availability impact: high.- Weakness
- CWE-770
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- Fixed releases
- Apache: 4.2.2, 4.3.2, 4.4.0
- Red Hat: 4.2.2, 4.3.2, 4.4.0
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-111115; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
Apache Kafka's code-generated readers for flexible protocol versions read a tagged-field count declared by the sender and retain a RawTaggedField object for each unknown field. That count was bounded only by the outer request frame size (socket.request.max.bytes); it was not checked against the remaining buffer bytes or capped. Because each entry can be encoded in as little as two bytes (unknown tag 0, size 0), a modest request can declare tens of millions of tagged fields and force one object allocation per declared field. Flexible request headers (header version 2, used by flexible APIs such as ApiVersions v3) are parsed this way, so the amplification applies to the request header itself. Impact: The flexible request header is parsed on the network thread before authorization, request dispatch, and request-time quota accounting. A client can send a request of a few tens of megabytes whose header declares about 20 million tagged fields, forcing roughly that many RawTaggedField allocations and exhausting broker heap or inducing process-wide GC stalls, denying broker service. Because the header is parsed for pre-authentication APIs such as ApiVersions (v3), the allocation can occur before authentication; no Kafka resource ACL or quota is required. Mitigation: Upgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0. Until then, lowering socket.request.max.bytes and restricting network access to broker listeners reduces, but does not remove, exposure. Resolution: From Apache Kafka 4.2.2, 4.3.2, and 4.4.0: generated readers bounds-check the tagged-field count for flexible-versioned messages, rejecting a negative count, a count exceeding the remaining buffer bytes, or a count exceeding a fixed maximum (10,000), before any per-field allocation.
Text from the CVE.org record (apache).
How do I fix CVE-2026-111115?
Upgrade to a fixed release named by the vendor:
- Apache: 4.2.2, 4.3.2, 4.4.0
- Red Hat: 4.2.2, 4.3.2, 4.4.0
- Mitigation: Upgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0. (Apache)
- Until then, lowering socket.request.max.bytes and restricting network access to broker listeners reduces, but does not remove, exposure. (Apache)
- Restrict network exposure of Kafka broker listener ports and reduce the maximum permitted request frame size: 1. Restrict broker network access: Limit connectivity to broker listeners (default port 9092/tcp) to trusted clients and internal subnets using firewall rules: ``` firewall-cmd --permanent --zone=trusted --add-source=192.168.1.0/24 firewall-cmd --reload ``` 2. Reduce request size limits: In the Kafka broker configuration file (such as `server.properties`), reduce the outer request frame limit by lowering `socket.request.max.bytes` to a smaller value appropriate for your workload: ``` socket.request.max.bytes=10485760 ``` Caveats: Modifying `socket.request.max.bytes` requires restarting the Kafka broker service (`systemctl restart ...`), which causes a temporary interruption of service. Lowering this value will cause requests exceeding the threshold to be dropped, potentially affecting legitimate producers or consumers if set below maximum valid message sizes. Restricting network access and lowering the threshold reduces the amplification risk but does not entirely eliminate exposure for connections originating from permitted networks. (Red Hat)
Vendor advisories for CVE-2026-111115
Apache
1 advisory- Advisory severityUnrated
Advisory [CVE-2026-111115] Apache Kafka: Broker OutOfMemoryError via tagged-field allocation amplification in flexible protocol request parsing
CVE-2026-111115Source published Source updated
Apache Kafka's code-generated readers for flexible protocol versions read a tagged-field count declared by the sender and retain a RawTaggedField object for each unknown field. That count was bounded only by the outer request frame size (socket.request.max.bytes); it was not checked against the remaining buffer bytes or capped. Because each entry can be encoded in as little as two bytes (unknown tag 0, size 0), a modest request can declare tens of millions of tagged fields and force one object allocation per declared field. Flexible request headers (header version 2, used by flexible APIs such as ApiVersions v3) are parsed this way, so the amplification applies to the request header itself. Impact: The flexible request header is parsed on the network thread before authorization, request…
- Affected products in this advisory
- Apache Kafka
- Source-reported affected versions
- Apache Kafka 2.4.0 through 4.1.2
- Apache Kafka 4.2.0 through 4.2.1
- Apache Kafka 4.3.0 through 4.3.1
- Source-reported fixed versions
- 4.2.2
- 4.3.2
- 4.4.0
- Mitigation guidance
- Mitigation: Upgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0.
- Until then, lowering socket.request.max.bytes and restricting network access to broker listeners reduces, but does not remove, exposure.
Red Hat
1 advisory- Advisory severityHigh7.5
High [CVE-2026-111115] Denial of Service via uncontrolled memory allocation in flexible request headers
CVE-2026-111115Source published Source updated
Denial of Service via uncontrolled memory allocation in flexible request headers. Red Hat rates this important (CVSS 7.5). Weakness: CWE-770. Affected products named by the advisory: OpenShift Serverless; Red Hat build of Apache Camel 4 for Quarkus 3; Red Hat build of Apache Camel for Spring Boot 4; Red Hat build of Apicurio Registry 3; and 4 more.
- Related products — impact not confirmed
- OpenShift Serverless
- Red Hat build of Apache Camel 4 for Quarkus 3
- Red Hat build of Apache Camel for Spring Boot 4
- Red Hat build of Apicurio Registry 3
4 more entries in the full advisory.
- Source-reported affected versions
- < 4.2.2
- < 4.3.2
- < 4.4.0
- Source-reported fixed versions
- 4.2.2
- 4.3.2
- 4.4.0
- Mitigation guidance
- Restrict network exposure of Kafka broker listener ports and reduce the maximum permitted request frame size: 1. Restrict broker network access: Limit connectivity to broker listeners (default port 9092/tcp) to trusted clients and internal subnets using firewall rules: ``` firewall-cmd --permanent --zone=trusted --add-source=192.168.1.0/24 firewall-cmd --reload ``` 2. Reduce request size limits: In the Kafka broker configuration file (such as `server.properties`), reduce the outer request frame limit by lowering `socket.request.max.bytes` to a smaller value appropriate for your workload: ``` socket.request.max.bytes=10485760 ``` Caveats: Modifying `socket.request.max.bytes` requires restarting the Kafka broker service (`systemctl restart ...`), which causes a temporary interruption of service. Lowering this value will cause requests exceeding the threshold to be dropped, potentially affecting legitimate producers or consumers if set below maximum valid message sizes. Restricting network access and lowering the threshold reduces the amplification risk but does not entirely eliminate exposure for connections originating from permitted networks.
References
- CVE-2026-111115 recordCVE.org
- CVE-2026-111115 detailNVD
- kafka.apache.org/cve-listvendor-advisory
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Apache advisories
CVE-2026-114349Oct 28, 2026Apache Kafka: Denial of serviceCVE-2026-112375Oct 28, 2026Apache Kafka: Unauthorized principal can read arbitrary broker filesCVE-2026-116593Oct 28, 2026Apache Kafka: Kafka Connect configuration provider values exposedCVE-2026-115644Oct 28, 2026Apache Kafka: Connect Admin REST API Authentication Bypass via Unapplied REST ExtensionsCVE-2026-111551Oct 28, 2026Apache Kafka: Denial of service in Kafka Streams and client deserializersCVE-2026-111496Oct 28, 2026Apache Kafka: Kafka Streams StreamThread hang from integer overflow in stream-time
Get an email when Apache publishes the next one.
See Apache's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
iPhone and Android apps · New on the App Store
Get alerts for new CVEs on your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.