Skip to main content

FlashMQ CVE-2025-62723

MEDIUM
Missing Release of Resource after Effective Lifetime (CWE-772)
2025-10-24 security-advisories@github.com
4.3
CVSS 3.1 · Vendor: github
Share

Severity by source

Vendor (github) PRIMARY
4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
vuln.today AI
4.3 MEDIUM

Network-facing broker but valid credentials are required (PR:L); only a slow memory leak with no data exposure, so C:N/I:N and limited availability impact (A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

3
Metadata Corrected
Oct 08, 2026 - 14:40 vuln.today
tag: Mqtt added
Metadata Corrected
Oct 08, 2026 - 14:40 vuln.today
tag: Information Disclosure Denial Of Service
Analysis Generated
Oct 08, 2026 - 14:29 vuln.today

DescriptionCVE.org

FlashMQ is a MQTT broker/server, designed for multi-CPU environments. Prior to version 1.23.2, any authenticated user can create sessions and have them collect QoS messages. When not sent to a client, these are then not released upon (eventual) session expiration. Version 1.23.2 fixes the issue.

AnalysisAI

Authenticated users of FlashMQ MQTT brokers running versions prior to 1.23.2 can cause a gradual memory leak by creating sessions that accumulate QoS messages which are never delivered to a connected client; the queued publish entries are not released even after the session eventually expires. The result is slow, cumulative memory growth that can degrade broker stability over time rather than an immediate crash (CVSS 4.3, A:L), and exploitation requires valid credentials (PR:L). No public exploit code has been identified at time of analysis and there is no confirmed active exploitation; EPSS is low at 0.34% (25th percentile), and the vendor has released a fix in 1.23.2.

Technical ContextAI

FlashMQ is a high-performance MQTT broker/server designed for multi-CPU environments, and the flaw resides in its internal QoS publish queue management. The root cause is CWE-772 (Missing Release of Resource after Effective Lifetime): the QueuedPublish linked list in qospacketqueue.cpp/h used std::shared_ptr for its prev/next pointers, creating strong reference cycles that prevented queued QoS publish entries from being freed when a session expired without those messages ever being delivered to a client. The upstream fix (commit e86c49360ef4387440c97f591770cdb9284b4ee9) converts the prev/next members from std::shared_ptr to std::weak_ptr, deletes the copy/move assignment operators on QueuedPublish, and updates traversal sites in session.cpp and sessionsandsubscriptionsdb.cpp to use .lock() when dereferencing the weak references. This breaks the reference cycle so queue nodes are reclaimed on session expiry. The affected component is the MQTT session/QoS delivery subsystem; the CPE cpe:2.3:a:flashmq:flashmq:*:*:*:*:*:*:*:* denotes all FlashMQ versions prior to the patched release.

RemediationAI

Upgrade FlashMQ to version 1.23.2, which fully remediates the issue; the fix is contained in commit e86c49360ef4387440c97f591770cdb9284b4ee9 and described in advisory GHSA-7mhp-22q4-r6vv. Vendor patch status is 'available from vendor'. Where upgrading immediately is not possible, compensating controls trade off functionality or operations: restrict broker accounts so only fully trusted, authenticated clients can create sessions and subscriptions, since exploitation requires credentials (PR:L); monitor broker process memory (RSS) for unbounded growth tied to expired sessions and schedule periodic broker restarts to reclaim leaked memory-restarts briefly interrupt all connected clients and do not fix the underlying leak; and reduce session expiry intervals or cap per-session queued QoS message volume where the broker supports such limits, accepting that aggressive expiry shortens offline-message retention for legitimate clients. None of these controls is a substitute for upgrading to 1.23.2.

More in Mqtt

View all
CVE-2026-85058 HIGH POC
7.5 Sep 18

Moquette MQTT brokers running versions prior to 0.18.1 fail to enforce topic write ACLs on Last Will and Testament messa

CVE-2026-87121 CRITICAL
9.3 Sep 22

An out-of-bounds write in the MQTT client module of the lwIP TCP/IP stack lets an adversary who controls or impersonates

CVE-2026-92943 CRITICAL
9.2 Sep 17

Improper TLS hostname validation in the MQTT client layer of AWS IoT Device SDK for Python (AWSIoTPythonSDK) 1.5.3 throu

CVE-2026-95844 HIGH
8.7 Sep 23

Remote unauthenticated clients can crash a Moquette MQTT broker running 0.18.0 or earlier by publishing or subscribing w

CVE-2026-86520 HIGH
8.7 Sep 18

Hardcoded MQTT credentials shipped inside Bransys ELD grant unauthenticated read access to real-time telemetry for every

CVE-2026-102762 HIGH
8.2 Sep 29

Malformed MQTT PUBLISH frames leak packet buffers in the Eclipse ThreadX NetX Duo MQTT client, letting a peer that can d

CVE-2026-102717 HIGH
7.5 Sep 30

An out-of-bounds read in Eclipse ThreadX NetX Duo's MQTT-over-WebSocket transport (the setter path) lets a malicious or

CVE-2020-13849 HIGH
7.5 Jun 04

The MQTT protocol 3.1.1 requires a server to set a timeout value of 1.5 times the Keep-Alive value specified by a client

CVE-2026-67411 MEDIUM
6.0 Sep 25

Loopback source-address restriction bypass in RabbitMQ's native MQTT and MQTT-over-WebSocket listeners (all releases fro

CVE-2026-67407 MEDIUM
5.1 Sep 25

Authorization bypass in RabbitMQ's MQTT topic permission handling allows a low-privileged authenticated user to broaden

CVE-2026-44639 LOW
3.7 Sep 18

NanoMQ MQTT brokers prior to 0.24.14 can be driven unresponsive by a remote unauthenticated client that sends MQTT v5 PU

CVE-2026-61633 LOW
2.0 Sep 18

The NanoMQ MQTT client (versions prior to 0.24.14) can be hung and driven into a CPU- and memory-consuming infinite loop

Share

CVE-2025-62723 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy