Sari la conținut
RedCVE

CVE-2026-114349Apache Kafka uncontrolled resource consumption

ApachePublicat:

Scor CVSS

6.5

Mediu

CVSS 3.1 de la 134c704f-9b21-4f2e-91b3-4a467353bcc0

Probabilitate de exploatare (EPSS)

0.55%

Șansă de 0.55% să fie exploatată în următoarele 30 de zile, peste 46.8% dintre toate CVE-urile.

CISA KEV

Nu este în KEV

CISA nu a raportat până acum exploatări confirmate.

Descrierea oficială

When a broker decodes a compressed record batch, the per-record decoder reads a declared body size from the decompressed stream and allocates a buffer of that size before validating it against the bytes available or any configured limit. The size is attacker-controlled, and the batch CRC does not constrain it, so a small (around 90-byte), CRC-valid compressed produce request can declare a body size of up to about 2 GiB and force the broker to attempt that allocation, raising OutOfMemoryError. The record size limit (max.message.bytes), the request size limit, and client/broker quotas bound only the compressed wire size, not the declared decompressed size. Impact: An authenticated principal with Write on a topic can crash broker request-handler threads (reached when a batch's codec differs from the topic's compression.type and records are re-encoded) and any consumer that fetches the record, denying service. On brokers started with -XX:+ExitOnOutOfMemoryError, a common hardening, a single crafted request terminates the broker JVM. More seriously, a crafted record is accepted at ingest and written to disk; when the log-cleaner later reads it on a compacted topic, the OutOfMemoryError (an Error, not an Exception) terminates the cleaner thread, which is not restarted. With the default of a single cleaner thread, log compaction then stops for the entire broker, including the internal __consumer_offsets and __transaction_state topics, and the condition persists across restarts until the offending record is removed. The impact is availability only; no data is disclosed or altered. Mitigation: Upgrade to Apache Kafka 4.2.2, 4.3.2, or 4.4.0, and set max.decompressed.message.bytes (at the broker and/or topic level) to a bounded value appropriate for your workload. Upgrading alone is not sufficient: for backward compatibility this configuration defaults to an effectively unlimited value (about 2 GiB), so a broker remains exposed until the limit is set. Choose a value at or slightly above the largest legitimate decompressed record your applications produce, and comfortably below the broker heap divided by the number of request-handler and cleaner threads. Until you can upgrade and configure the limit, restrict Write access to trusted producers; quotas and max.message.bytes do not mitigate this issue. Resolution: From Apache Kafka 4.2.2, 4.3.2, and 4.4.0: the broker validates a record's declared decompressed body size against max.decompressed.message.bytes before allocating, on the produce-validation, log-compaction, and timestamp-lookup paths, and rejects oversized or negative sizes with InvalidRecordException. Operators must set this configuration to a bounded value to be protected, as its default is effectively unlimited.

Sursa: NVD · CNA: security@apache.org

Cum îl remediezi, pas cu pas

  1. Verifică dacă ești afectat

    Identifică toate sistemele care rulează Apache Kafka și compară versiunea lor cu versiunile afectate.

  2. Actualizează la o versiune remediată

    • Actualizează Apache Kafka la 2.5.0, 4.0.0 sau mai nou, pe ramura pe care o folosești.
  3. Confirmă remedierea

    Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.

Ți-a fost util?

Cum poate fi exploatată

Vector de atac
Rețea
Complexitatea atacului
Scăzut
Privilegii necesare
Scăzut
Interacțiune cu utilizatorul
Niciunul
Domeniu de impact
Neschimbat
Confidențialitate
Niciunul
Integritate
Niciunul
Disponibilitate
Ridicat

Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Produse afectate

Produse afectateVersiuni
Apache Apache Kafka≥ 0.11.0.0, < 2.5.0 · ≥ 0.11.0.0, < 4.0.0 · ≥ 2.4.0, ≤ 4.1.2 · ≥ 4.2.0, ≤ 4.2.1 · ≥ 4.3.0, ≤ 4.3.1

Tip de slăbiciune

Cronologie

  1. Publicat:
  2. Ultima modificare:

Întrebări frecvente

Este CVE-2026-114349 exploatată?

Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.5% de exploatare în următoarele 30 de zile.

Care este scorul CVSS pentru CVE-2026-114349?

CVE-2026-114349 are un scor de bază CVSS 3.1 de 6.5 (mediu).

Ce versiuni sunt afectate?

Apache Apache Kafka (≥ 0.11.0.0, < 2.5.0; ≥ 0.11.0.0, < 4.0.0; ≥ 2.4.0, ≤ 4.1.2; ≥ 4.2.0, ≤ 4.2.1; ≥ 4.3.0, ≤ 4.3.1)

Există patch pentru CVE-2026-114349?

Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.

Referințe

Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.