CVE-2026-44639: NanoMQ: O(N²) Denial of Service in MQTT v5 Property Parsing

Published Sep 18, 2026
·
Updated

NanoMQ is an MQTT broker. Prior to 0.24.14, NanoMQ's MQTT v5 property decoder in nng/src/supplemental/mqtt/mqttcodec.c uses propertyappend() to walk the entire linked list for each property added by decodebufproperties(). A remote unauthenticated client can supply a PUBLISH or SUBSCRIBE packet containing many User Properties, causing O(N²) linked-list insertion and CPU work that makes the broker unresponsive; repeated packets can sustain the denial of service. This issue is fixed in version 0.24.14.

Affected Software

1 affected component
nanomq nanomq<0.24.14

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade NanoMQ to a version that resolves this vulnerability.

    Fixed in 0.24.14

Event History

Sep 18, 2026
CVE Published
via MITRE·04:17 PM
Data Sourced
via MITRE·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial of service?

NanoMQ versions prior to 0.24.14 are affected. Exposure requires the broker to accept MQTT v5 PUBLISH or SUBSCRIBE packets from a remote client.

2

Does exploitation require authentication or user interaction?

No. A remote unauthenticated client can trigger the issue, and no user interaction is required, but the attacker must craft packets with many MQTT v5 User Properties.

3

What is the immediate mitigation if upgrading is not possible?

The provided information identifies upgrading to NanoMQ 0.24.14 as the fix. It does not provide a configuration-based workaround; reducing access by untrusted clients to the broker would limit who can send the malicious packets.

4

How could an attack affect broker availability?

Packets with many User Properties cause quadratic linked-list insertion and CPU processing. Repeated malicious PUBLISH or SUBSCRIBE packets can keep the broker unresponsive.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203