CVE-2025-56352

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.
Configurations

No configuration.

History

18 May 2026, 18:17

Type Values Removed Values Added
CWE CWE-400
References
  • () https://github.com/user-attachments/files/21207896/Resource_Exhaustion_Poc.txt -
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

18 May 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-18 16:16

Updated : 2026-05-18 20:27


NVD link : CVE-2025-56352

Mitre link : CVE-2025-56352

CVE.ORG link : CVE-2025-56352


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption