CVE-2025-56353 Details
Description
In tinyMQTT commit 6226ade15bd4f97be2d196352e64dd10937c1962 (2024-02-18), a memory leak occurs due to the broker's failure to validate or reject malformed UTF-8 strings in topic filters. An attacker can exploit this by sending repeated subscription requests with arbitrarily large or invalid filter payloads. Each request causes memory to be allocated for the malformed topic filter, but the broker does not free the associated memory, leading to unbounded heap growth and potential denial of service under sustained attack.
A memory leak vulnerability has been identified in tinyMQTT version commit 6226ade, released on February 18, 2024. The issue arises because the MQTT broker does not properly validate UTF-8 strings in topic filters, allowing attackers to send malformed subscription requests with large or invalid payloads. This lack of validation leads to unbounded memory allocation for each malformed filter, causing a memory leak and potential denial-of-service under sustained attack. Additionally, the broker fails to close client connections after sending a CONNACK with return code 0x02 (Identifier Rejected) when a zero-length ClientId and CleanSession=0 are used. This oversight allows attackers to open numerous half-open sessions, exhausting server resources and causing the broker to become unresponsive or crash.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 21, 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/JustDoIt0910/tinyMQTT/issues/19 | [email protected] | ExploitIssue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| justdoit0910 tinymqtt | 2024-02-18 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 3, 2026 | Initial Analysis | [email protected] |
| Jan 21, 2026 | CVE Modified | CISA-ADP |
| Jan 20, 2026 | New CVE Received | [email protected] |