p PatchFirst

CVE-2026-130176

CVE-2026-130176 · aMQTT: Denial of Service (DoS) via Memory Leak in Unmanaged QoS 2 Session Handshakes

CVSS 7.5 · High · EPSS 0.6% · Public exploit · Fix available

Compare with your installed version

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

  • amqttNo fix published
  • amqtt Debian 14Update to 0.12.1-1
  • amqtt PyPIUpdate to 0.12.1
  • amqtt Ubuntu 26.10No fix published
  • and 1 more

Check the installed version:

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

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.

aMQTT is an open source MQTT broker and client. From 0.11.0 until 0.12.1, the QoS 2 transaction handler in amqtt/mqtt/protocol/handler.py, _handle_qos2_message_flow(), can retain transaction state and packet identifiers when a client disconnects before the handshake completes, unlike QoS 1 flows that expire after the default five-second timeout. A remote client can repeatedly begin QoS 2 flows and disconnect without maintaining long-lived connections; anonymous clients can do this with the default configuration, while authenticated deployments remain affected when a client may initiate QoS 2 flows. The retained state grows broker memory until resource exhaustion can terminate the process; no confidentiality or integrity impact is identified. This issue is fixed in version 0.12.1.

Published
Updated

Stack: system · python

Affected products and versions

  • amqtt

    Versions
    • >= 0.11.0, < 0.12.1: Affected

    No fix published

  • amqtt Debian 14

    Versions
    • 0.11.3-1
    • 0.11.3-2
    • 0.11.4-1
    • 0.12.0-1
    • 0.12.0-2
    • 0.12.0-3
    Affected ranges
    • ECOSYSTEM: < 0.12.1-1

    Update to 0.12.1-1

  • amqtt PyPI

    Versions
    • 0.11.0
    • 0.11.1
    • 0.11.2
    • 0.11.3
    • 0.11.4
    • 0.12.0
    Affected ranges
    • ECOSYSTEM: ≥ 0.11.0, < 0.12.1

    Update to 0.12.1

  • amqtt Ubuntu 26.10

    Versions
    • 0.11.3-2
    • 0.12.0-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • amqtt Ubuntu 26.04 LTS

    Versions
    • 0.11.3-1
    • 0.11.3-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →