USN-9323-1: Mosquitto vulnerabilities

Published Dec 1, 2026
·
Updated

It was discovered that Mosquitto broker incorrectly handled certain specially crafted input and network packets. A remote attacker could possibly use these issues to cause a denial of service. (CVE-2017-7653, CVE-2017-7654) It was discovered that Mosquitto incorrectly applied a default allow policy when its configured ACL file was empty or contained only comments or blank lines. A remote attacker could possibly use this issue to bypass access restrictions. (CVE-2018-12550) It was discovered that the Mosquitto client library did not reject Will messages with payloads larger than 65535 bytes, which could result in uninitialized memory being sent to the broker. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-130491)

Affected Software

10 affected componentsFixes available
All of the following
ubuntu/libmosquitto0<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04
All of the following
ubuntu/libmosquittopp0<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04
All of the following
ubuntu/mosquitto<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04
All of the following
ubuntu/mosquitto-clients<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04
All of the following
ubuntu/python-mosquitto<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libmosquitto0 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/libmosquittopp0 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  3. Upgrade

    Upgrade ubuntu/mosquitto to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  4. Upgrade

    Upgrade ubuntu/mosquitto-clients to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  5. Upgrade

    Upgrade ubuntu/python-mosquitto to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to the access-control issue?

Mosquitto broker deployments with an ACL file that is empty or contains only comments or blank lines are affected by the default allow behavior. In that configuration, remote attackers may be able to bypass intended access restrictions.

2

What capabilities does an attacker need for the denial-of-service issues?

The issues can be triggered remotely using specially crafted input or network packets sent to the Mosquitto broker. The provided information does not specify an authentication requirement.

3

Which applications should be reviewed for the information-disclosure issue?

Applications using the Mosquitto client library should be reviewed, particularly where they can send Will messages. Will-message payloads larger than 65535 bytes may cause uninitialized memory to be sent to the broker.

4

How can I identify an ACL configuration at risk?

Inspect the configured Mosquitto ACL file. It is at risk if it has no rules because it is empty or consists solely of comments and blank lines.

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