Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify FlashMQ instance prior to 1.26.1 with non-default deferred timeout config
-
DeliveryConnect as client with retained publish permission (or anonymous if allowed)
-
ExploitPublish retained MQTT message to any topic
-
ExecutionBroker enters spread-timeout calculation with zero divisor
-
PersistDivide-by-zero triggers process crash
-
ImpactAll active MQTT client sessions severed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
|
| Exploitation Conditions | Two non-default operator-configured conditions must both be present: |
| Impact | The CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately represents a network-reachable DoS requiring only low-privilege publish rights. However, the attack surface is narrowed by a mandatory non-default configuration prerequisite: both |
| Exploit ScenarioDerived | An attacker with an MQTT client account holding retained publish permission connects to a FlashMQ broker running a version prior to 1.26.1 that has both |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
FlashMQ MQTT broker versions prior to 1.26.1 crashes with a divide-by-zero fault when a client with retained publish permission sends a retained message while both the set_retained_message_defer_timeout and set_retained_message_defer_timeout_spread settings are configured to non-default values, resulting in full denial of service and disconnection of all active MQTT sessions. Publicly available exploit code exists per SSVC classification, though EPSS sits at 0.11% (30th percentile) and no active exploitation is confirmed via the CISA KEV catalog. The vulnerable configuration requires explicit operator action to trigger, meaningfully narrowing real-world exposure.
RemediationAI
Upgrade FlashMQ to version 1.26.1, which resolves the issue via commit 193b6e7 (https://github.com/halfgaar/FlashMQ/commit/193b6e7767889511cfa8e933908ea5e6a1077a1f). Full vendor advisory details are at https://github.com/halfgaar/FlashMQ/security/advisories/GHSA-2789-vfcg-5922. For deployments that cannot immediately upgrade, a targeted compensating control is to remove or reset the set_retained_message_defer_timeout_spread configuration directive to its default (zero or unset); this prevents the vulnerable modulo code path from being reached entirely. Note that removing this setting changes timing randomization behavior for retained message deferral, which may affect throughput smoothing under high retained-message load. As a secondary hardening measure, disable anonymous retained publishing if it is not operationally required, which eliminates the unauthenticated attack vector even on vulnerable versions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FlashMQ is a high-performance C++ MQTT broker designed for multi-CPU environments (affected versions: FlashMQ < 1.26.1, per EUVD-2026-28838). The root cause is CWE-369 (Divide By Zero), located in subscriptionstore.cpp within the trySetRetainedMessages function. When retained message deferral is enabled, the original code unconditionally executed td->randomish() % settings->setRetainedMessageDeferTimeoutSpread.count() to compute a randomized timeout spread. If setRetainedMessageDeferTimeoutSpread.count() evaluates to zero under specific non-default configuration combinations, the modulo operation triggers a divide-by-zero, crashing the broker process. The fix in commit 193b6e7 introduces a guard (if (spread != std::chrono::milliseconds::zero())) that skips the modulo calculation entirely when the spread is zero, eliminating the crash path.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Network-reachable crash requiring only low-privilege retained publish rights; no confidentiality or integrity impact, sole consequence is full broker availability loss.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
FlashMQ is a MQTT broker/server, designed for multi-CPU environments. Prior to version 1.26.1, a remote client with retained publish permission can crash the FlashMQ broker when both set_retained_message_defer_timeout and set_retained_message_defer_timeout_spread are configured to non-default values, resulting in denial of service. If anonymous retained publishing is allowed, no authentication is required; otherwise, the attacker needs the corresponding publish permission. This issue has been patched in version 1.26.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-28838
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB