CVE-2025-56352
Last modified
CVE-2025-56352 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-56352?
How severe is CVE-2025-56352?
How do I fix CVE-2025-56352?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-56320CobbleStone Enterprise Contract Management Portal v.22.4.0 i…5.4
- CVE-2025-5633A vulnerability was found in code-projects/anirbandutta9 Con…8.8
- CVE-2025-56332Authentication Bypass in fosrl/pangolin v1.6.2 and before al…9.1
- CVE-2025-56333An issue in Fossorial fosrl/pangolin v.1.6.2 and before allo…9.8
- CVE-2025-5634A vulnerability classified as critical has been found in PCM…9.8
- CVE-2025-5635A vulnerability classified as critical was found in PCMan FT…9.8
- CVE-2025-56353In tinyMQTT commit 6226ade15bd4f97be2d196352e64dd10937c1962 …7.5
- CVE-2025-5636A vulnerability, which was classified as critical, has been …9.8
- CVE-2025-56361A reachable assertion vulnerability exists in the Matter SDK…7.5
- CVE-2025-56362A reachable assertion vulnerability exists in the Matter SDK…7.5
- CVE-2025-56363A null pointer dereference vulnerability exists in the Matte…7.5
- CVE-2025-56364A use of uninitialized value vulnerability exists in the Mat…7.5
Are you affected by CVE-2025-56352?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
