Vulnerability

CVE-2025-56352

highCVSS 3.1 7.5Published 18 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

In tinyMQTT commit 6226ade15bd4f97be2d196352e64dd10937c1962 (2024-02-18), the broker mishandles protocol violations during CONNECT packet parsing. When receiving a CONNECT packet with a zero-length Client ID while CleanSession is set to 0, the broker correctly replies with a CONNACK return code 0x02 (Identifier Rejected) but fails to explicitly close the TCP connection. Since the surrounding connection teardown logic is not guaranteed to execute, each such invalid CONNECT attempt leaves the underlying socket open. Repeated attempts cause server-side resource exhaustion due to accumulating file descriptors and memory usage, potentially resulting in denial of service.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /JustDoIt0910/tinyMQTT/issues/19
  • github.com /user-attachments/files/21207896/Resource_Exhaustion_Poc.txt

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning