← Back to CVE Explorer

CVE-2026-35554

Full vulnerability record from the local CVENow database.

Description

A race condition in the Apache Kafka Java producer client’s buffer pool management can cause messages to be silently delivered to incorrect topics. When a produce batch expires due to delivery.timeout.ms while a network request containing that batch is still in flight, the batch’s ByteBuffer is prematurely deallocated and returned to the buffer pool. If a subsequent producer batch—potentially destined for a different topic—reuses this freed buffer before the original network request completes, the buffer contents may become corrupted. This can result in messages being delivered to unintended topics without any error being reported to the producer. Data Confidentiality: Messages intended for one topic may be delivered to a different topic, potentially exposing sensitive data to consumers who have access to the destination topic but not the intended source topic. Data Integrity: Consumers on the receiving topic may encounter unexpected or incompatible messages, leading to deserialization failures, processing errors, and corrupted downstream data. This issue affects Apache Kafka versions ≤ 3.9.1, ≤ 4.0.1, and  ≤ 4.1.1. Kafka users are advised to upgrade to 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later to address this vulnerability.

Severity
HIGH
CVSS score
8.7 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-04-07 14:16:23.413000
Last modified
2026-10-26 21:10:00.170000
View original CVE JSON
{
  "id": "CVE-2026-35554",
  "sourceIdentifier": "[email protected]",
  "published": "2026-04-07T14:16:23.413",
  "lastModified": "2026-10-26T21:10:00.170",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "A race condition in the Apache Kafka Java producer client’s buffer pool management can cause messages to be silently delivered to incorrect topics.\n\nWhen a produce batch expires due to delivery.timeout.ms while a network request containing that batch is still in flight, the batch’s ByteBuffer is prematurely deallocated and returned to the buffer pool. If a subsequent producer batch—potentially destined for a different topic—reuses this freed buffer before the original network request completes, the buffer contents may become corrupted. This can result in messages being delivered to unintended topics without any error being reported to the producer.\n\n\nData Confidentiality:\nMessages intended for one topic may be delivered to a different topic, potentially exposing sensitive data to consumers who have access to the destination topic but not the intended source topic.\n\nData Integrity:\nConsumers on the receiving topic may encounter unexpected or incompatible messages, leading to deserialization failures, processing errors, and corrupted downstream data.\n\nThis issue affects Apache Kafka versions ≤ 3.9.1, ≤ 4.0.1, and  ≤ 4.1.1.\n\nKafka users are advised to upgrade to 3.9.2, 4.0.2, 4.1.2, 4.2.0, or later to address this vulnerability."
    },
    {
      "lang": "es",
      "value": "Una condición de carrera en la gestión del pool de búferes del cliente productor Java de Apache Kafka puede causar que los mensajes sean entregados silenciosamente a temas incorrectos.\n\nCuando un lote de producción expira debido a delivery.timeout.ms mientras una solicitud de red que contiene ese lote todavía está en vuelo, el ByteBuffer del lote es desasignado prematuramente y devuelto al pool de búferes. Si un lote de productor subsiguiente -potencialmente destinado a un tema diferente- reutiliza este búfer liberado antes de que la solicitud de red original se complete, el contenido del búfer puede corromperse. Esto puede resultar en que los mensajes sean entregados a temas no deseados sin que se informe ningún error al productor.\n\nConfidencialidad de los datos:\nLos mensajes destinados a un tema pueden ser entregados a un tema diferente, exponiendo potencialmente datos sensibles a consumidores que tienen acceso al tema de destino pero no al tema de origen previsto.\n\nIntegridad de los datos:\nLos consumidores en el tema receptor pueden encontrar mensajes inesperados o incompatibles, lo que lleva a fallos de deserialización, errores de procesamiento y datos descendentes corruptos.\n\nEste problema afecta a las versiones de Apache Kafka ? 3.9.1, ? 4.0.1 y ? 4.1.1.\n\nSe aconseja a los usuarios de Kafka que actualicen a 3.9.2, 4.0.2, 4.1.2, 4.2.0, o posterior para abordar esta vulnerabilidad."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache Kafka Clients",
          "defaultStatus": "unaffected",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "org.apache.kafka:kafka-clients",
          "versions": [
            {
              "version": "2.8.0",
              "lessThanOrEqual": "3.9.1",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.0.0",
              "lessThanOrEqual": "4.0.1",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.1.0",
              "lessThanOrEqual": "4.1.1",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N",
          "baseScore": 8.7,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.2,
        "impactScore": 5.8
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-04-07T13:57:17.254124Z",
          "id": "CVE-2026-35554",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-362"
        },
        {
          "lang": "en",
          "value": "CWE-416"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "2.8.0",
              "versionEndExcluding": "3.9.2",
              "matchCriteriaId": "CD64E63F-1C04-42C6-8EB8-AD20E98D0E6D"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.0.0",
              "versionEndExcluding": "4.0.2",
              "matchCriteriaId": "1C7447C7-C7BE-46B6-B4B6-DD95BA5CDBF8"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:apache:kafka:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.1.0",
              "versionEndExcluding": "4.1.2",
              "matchCriteriaId": "5D700BB3-89AD-4488-8820-17C427E7983D"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://issues.apache.org/jira/browse/KAFKA-19012",
      "source": "[email protected]",
      "tags": [
        "Issue Tracking"
      ]
    },
    {
      "url": "https://lists.apache.org/thread/f07x7j8ovyqhjd1to25jsnqbm6wj01d6",
      "source": "[email protected]",
      "tags": [
        "Vendor Advisory"
      ]
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2026/04/07/6",
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ]
    }
  ]
}