CVE-2025-56352 in Client products
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 Reje...
Affects 0 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-56352 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-302324-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-05-18 |
| Last modified | 2026-11-04 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-400: Uncontrolled Resource Consumption (DoS)
Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.
Related attack patterns (CAPEC)
CAPEC-147 XML Ping of the Death via CWE-400
CAPEC-492 Regular Expression Exponential Blowup via CWE-400
CAPEC-227 Sustained Client Engagement via CWE-400
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
tinyMQTT broker mishandles CONNECT packet parsing, failing to close the TCP connection when a zero-length Client ID is received with CleanSession set to 0, despite correctly sending a CONNACK return code 0x02.
An attacker can exploit this by sending a CONNECT packet with a zero-length Client ID and CleanSession set to 0, potentially leading to resource exhaustion or denial of service as the broker does not close the connection.
Questions
What is CVE-2025-56352?
tinyMQTT broker mishandles CONNECT packet parsing, failing to close the TCP connection when a zero-length Client ID is received with CleanSession set to 0, despite correctly sending a CONNACK return code 0x02.
What is the CVSS score for CVE-2025-56352?
CVE-2025-56352 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.5%.
Is CVE-2025-56352 actively exploited?
No confirmed active exploitation of CVE-2025-56352 as of 2026-11-06.
How do I remediate CVE-2025-56352?
Priority: MEDIUM.
What systems are affected by CVE-2025-56352?
CVE-2025-56352 affects Client; Protocol; Socket.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Client","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-04.