p PatchFirst

CVE-2026-130491

CVE-2026-130491 · Uninitialized heap disclosure in CONNECT through Will payload length truncation

CVSS 7.5 · High · EPSS 0.6%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="mosquitto"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

In Eclipse versions 1.5-1.6.13, 2.0.0-2.0.22 and 2.1.0-2.1.2, the client library libmosquitto does not reject Will messages with payloads greater than 65535 bytes when calling `mosquitto_will_set()` or `mosquitto_will_set_v5()`. This results in up to 65535 bytes of uninitialised heap memory being transmitted as the Will.

This can be mitigated by only passing payloads with a maximum length of 65535 bytes.

Published
Updated

Stack: system

Affected products and versions

  • eclipse mosquitto

    Versions
    • ≥ 1.5, ≤ 1.6.13: Affected (custom)
    • ≥ 2.0, ≤ 2.0.22: Affected (semver)
    • ≥ 2.1.0, ≤ 2.1.2: Affected (semver)

    No fix published

  • mosquitto Debian 12

    Versions
    • 2.0.11-1.2
    • 2.0.11-1.2+deb12u1
    • 2.0.11-1.2+deb12u2
    • 2.0.15-1
    • 2.0.15-2
    • 2.0.15-2~bpo12+1
    All versions (30)
    • 2.0.17-1
    • 2.0.17-2
    • 2.0.17-3
    • 2.0.18-1
    • 2.0.18-1.1
    • 2.0.18-1~bpo12+1
    • 2.0.20-1
    • 2.0.20-1~bpo12+1
    • 2.0.20-2
    • 2.0.20-3
    • 2.0.21-1
    • 2.0.21-1~bpo12+1
    • 2.0.22-1
    • 2.0.22-2
    • 2.0.22-3
    • 2.0.22-4
    • 2.0.22-5
    • 2.1.2-1
    • 2.1.2-1~exp1
    • 2.1.2-2
    • 2.1.2-3
    • 2.1.2-4
    • 2.1.2-5
    • 2.1.2-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Debian 13

    Versions
    • 2.0.21-1
    • 2.0.22-1
    • 2.0.22-2
    • 2.0.22-3
    • 2.0.22-4
    • 2.0.22-5
    All versions (13)
    • 2.1.2-1
    • 2.1.2-1~exp1
    • 2.1.2-2
    • 2.1.2-3
    • 2.1.2-4
    • 2.1.2-5
    • 2.1.2-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Debian 14

    Versions
    • 2.0.21-1
    • 2.0.22-1
    • 2.0.22-2
    • 2.0.22-3
    • 2.0.22-4
    • 2.0.22-5
    All versions (13)
    • 2.1.2-1
    • 2.1.2-1~exp1
    • 2.1.2-2
    • 2.1.2-3
    • 2.1.2-4
    • 2.1.2-5
    • 2.1.2-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Ubuntu Pro 14.04 LTS

    Versions
    • 0.15-2ubuntu1
    • 0.15-2ubuntu1.1
    • 0.15-2ubuntu1.2
    • 0.15-2+deb7u3ubuntu0.1
    • 0.15-2+deb7u3ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Ubuntu Pro 16.04 LTS

    Versions
    • 1.4.3-1
    • 1.4.4-1
    • 1.4.7-1
    • 1.4.8-1
    • 1.4.8-1build1
    • 1.4.8-1ubuntu0.16.04.1
    All versions (14)
    • 1.4.8-1ubuntu0.16.04.2
    • 1.4.8-1ubuntu0.16.04.3
    • 1.4.8-1ubuntu0.16.04.4
    • 1.4.8-1ubuntu0.16.04.5
    • 1.4.8-1ubuntu0.16.04.6
    • 1.4.8-1ubuntu0.16.04.7
    • 1.4.8-1ubuntu0.16.04.7+esm1
    • 1.4.8-1ubuntu0.16.04.7+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Ubuntu Pro 18.04 LTS

    Versions
    • 1.4.12-1
    • 1.4.14-1
    • 1.4.14-2
    • 1.4.14-2build1
    • 1.4.15-1
    • 1.4.15-2
    All versions (11)
    • 1.4.15-2ubuntu0.18.04.1
    • 1.4.15-2ubuntu0.18.04.2
    • 1.4.15-2ubuntu0.18.04.3
    • 1.4.15-2ubuntu0.18.04.3+esm1
    • 1.4.15-2ubuntu0.18.04.3+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Ubuntu Pro 20.04 LTS

    Versions
    • 1.6.6-1
    • 1.6.7-1
    • 1.6.8-1
    • 1.6.8-2
    • 1.6.9-1~build1
    • 1.6.9-1
    All versions (8)
    • 1.6.9-1ubuntu0.1~esm1
    • 1.6.9-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Ubuntu 22.04 LTS

    Versions
    • 2.0.11-1
    • 2.0.11-1build1
    • 2.0.11-1ubuntu1
    • 2.0.11-1ubuntu1.1
    • 2.0.11-1ubuntu1.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Ubuntu Pro 24.04 LTS

    Versions
    • 2.0.18-1
    • 2.0.18-1build1
    • 2.0.18-1build2
    • 2.0.18-1build3
    • 2.0.18-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Ubuntu 26.10

    Versions
    • 2.0.22-5build1
    • 2.1.2-3
    • 2.1.2-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mosquitto Ubuntu 26.04 LTS

    Versions
    • 2.0.22-2
    • 2.0.22-5build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →