7.5high
In tinyMQTT commit 6226ade15bd4f97be2d196352e64dd10937c1962 (2024-02-18), a memory leak occurs due to the broker's failure to validate or r…
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| justdoit0910 tinymqtt | 2024-02-18 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el commit 6226ade15bd4f97be2d196352e64dd10937c1962 (18-02-2024) de tinyMQTT, se produce una fuga de memoria debido a que el bróker no valida ni rechaza cadenas UTF-8 mal formadas en los filtros de temas. Un atacante puede explotar esto enviando solicitudes de suscripción repetidas con cargas útiles de filtro arbitrariamente grandes o inválidas. Cada solicitud provoca que se asigne memoria para el filtro de tema mal formado, pero el bróker no libera la memoria asociada, lo que lleva a un crecimiento ilimitado del heap y a una posible denegación de servicio bajo un ataque sostenido.
References
| https://github.com/JustDoIt0910/tinyMQTT/issues/19 | exploit, issue-tracking, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-56353 changed 2026-01-21 | CVE Terms of Use |
| NVD | CVE-2025-56353 changed 2026-06-17 | Public domain |