CVE-2025-56352 Details
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.
A resource exhaustion vulnerability has been identified in tinyMQTT version commit 6226ade15bd4f97be2d196352e64dd10937c1962. The issue arises in the MQTT broker's handling of CONNECT packets. When a CONNECT packet is received with a zero-length Client ID and CleanSession set to 0, the broker correctly responds with a CONNACK return code of 0x02 (Identifier Rejected) but fails to close the TCP connection. This oversight allows the connection to remain open, creating 'half-open' sessions that consume server resources. Repeated invalid CONNECT attempts can lead to an accumulation of open sockets, file descriptors, and increased memory usage, causing a denial-of-service condition on the server.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 18, 2026CISA-ADP
Assessed May 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/user-attachments/files/21207896/Resource_Exhaustion_Poc.txt | CISA-ADP | |
| https://github.com/JustDoIt0910/tinyMQTT/issues/19 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| tinyMQTT | 6226ade15bd4f97be2d196352e64dd10937c1962 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 18, 2026 | CVE Modified | CISA-ADP |
| May 18, 2026 | New CVE Received | [email protected] |
Volerion