# CVE-2026-42209: FlashMQ: Division by zero crash when using non-default deferred retained message setting

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T21:40:43.284Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- halfgaar FlashMQ: < 1.26.1

## References

- <https://github.com/halfgaar/FlashMQ/issues/167> (exploit)
- <https://github.com/halfgaar/FlashMQ/security/advisories/GHSA-2789-vfcg-5922>
- <https://github.com/halfgaar/FlashMQ/commit/193b6e7767889511cfa8e933908ea5e6a1077a1f>
- <https://github.com/halfgaar/FlashMQ/releases/tag/v1.26.1>

## Sources

- CVE List: [CVE-2026-42209](https://www.cve.org/CVERecord?id=CVE-2026-42209), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-42209](https://nvd.nist.gov/vuln/detail/CVE-2026-42209), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42209 · Whole record: https://cve.day/CVE-2026-42209.json · Rebuilt by cve.day 2026-11-25T22:59:21.116Z
