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.

Project Subscriptions

Vendors Products
Justdoit0910 Subscribe
Tinymqtt Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 18 May 2026 18:30:00 +0000

Type Values Removed Values Added
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 18 May 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Justdoit0910
Justdoit0910 tinymqtt
Vendors & Products Justdoit0910
Justdoit0910 tinymqtt

Mon, 18 May 2026 17:15:00 +0000

Type Values Removed Values Added
Title Open TCP Connection Leakage Causes Denial of Service in tinyMQTT via Malformed CONNECT
Weaknesses CWE-400
CWE-770

Mon, 18 May 2026 15:30:00 +0000

Type Values Removed Values Added
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.
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-05-18T17:27:28.823Z

Reserved: 2025-08-16T00:00:00.000Z

Link: CVE-2025-56352

cve-icon Vulnrichment

Updated: 2026-05-18T17:23:38.551Z

cve-icon NVD

Status : Received

Published: 2026-05-18T16:16:29.130

Modified: 2026-05-18T18:17:20.727

Link: CVE-2025-56352

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-18T17:30:05Z

Weaknesses