CVE-2026-32134
JSON

5.9medium

NanoMQ: NULL Pointer Dereference Crash in tcptran_pipe_peer During Session Restore

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In versions 0.24.10 and below, when NanoMQ handles high-concurrency reconnect traffic using a reconnect-collision payload, the broker can crash due to a NULL pointer dereference during MQTT session resumption for clean_start=0 clients. The transport's p_peer callback (tcptran_pipe_peer()) iterates cpipe->subinfol while copying session metadata from the cached old pipe to the new reconnecting pipe, without checking whether the pointer is NULL. Under a reconnect race, cpipe->subinfol can be freed and set to NULL before session restore invokes this function, resulting in a remote unauthenticated Denial-of-Service (process crash) condition. This issue has been fixed in version 0.24.11.

Affected

Product or packageVersionsReported by
nanomq nanomq< 0.24.11CVE List
nanomq NanoNNG< 0.24.11CVE List

Classification

CWE-476

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In versions 0.24.10 and below, when NanoMQ handles high-concurrency reconnect traffic using a reconnect-collision payload, the broker can crash due to a NULL pointer dereference during MQTT session resumption for clean_start=0 clients. The transport's p_peer callback (tcptran_pipe_peer()) iterates cpipe->subinfol while copying session metadata from the cached old pipe to the new reconnecting pipe, without checking whether the pointer is NULL. Under a reconnect race, cpipe->subinfol can be freed and set to NULL before session restore invokes this function, resulting in a remote unauthenticated Denial-of-Service (process crash) condition. This issue has been fixed in version 0.24.11.

NVD (es)

NanoMQ MQTT Broker (NanoMQ) es una plataforma de mensajería de borde integral. En las versiones 0.24.10 e inferiores, cuando NanoMQ maneja tráfico de reconexión de alta concurrencia utilizando una carga útil de colisión de reconexión, el broker puede fallar debido a una desreferenciación de puntero NULL durante la reanudación de la sesión MQTT para clientes con clean_start=0. La devolución de llamada p_peer del transporte (tcptran_pipe_peer()) itera cpipe -> subinfol mientras copia metadatos de sesión desde la tubería antigua en caché a la nueva tubería de reconexión, sin verificar si el puntero es NULL. Bajo una condición de carrera de reconexión, cpipe -> subinfol puede ser liberado y establecido en NULL antes de que la restauración de la sesión invoque esta función, resultando en una condición de Denegación de Servicio remota no autenticada (fallo del proceso). Este problema ha sido solucionado en la versión 0.24.11.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-32134 changed 2026-05-19CVE Terms of Use
NVDCVE-2026-32134 changed 2026-07-24Public domain