CVE-2026-130176
### Impact `amqtt` is vulnerable to a remote denial of service caused by incomplete MQTT QoS 2 transactions remaining allocated after the associated client disconnects. MQTT QoS 2 uses a four-step handshake to provide exactly-once delivery. If a client begins a QoS 2 transaction but disconnects before the handshake completes, `amqtt` retains the associated transaction state and packet identifier without an expiration mechanism to remove it. QoS 1 transactions are protected by a timeout mechanism, which defaults to 5 seconds, allowing abandoned state to be released. Equivalent timeout handling was not applied to incomplete QoS 2 transactions. An attacker can repeatedly connect to the broker, initiate QoS 2 transactions, and disconnect before completing the handshake. Each incomplete transaction leaves state allocated in memory. Repeating this process causes broker memory consumption to grow continuously. Successful exploitation can cause: * Unbounded growth in broker memory usage * Accumulation of incomplete QoS 2 transaction state * Increasing memory pressure on the host system * Termination of the broker process when available memory is exhausted * Operating-system Out-Of-Memory (OOM) intervention * Complete loss of availability for the affected broker process Exploitation does not require maintaining long-lived connections. An attacker can create incomplete QoS 2 transactions and disconnect, leaving the broker to retain the associated state after the network connection has closed. Under the default configuration, anonymous clients can exploit the vulnerability without credentials. When authentication is enabled, any authenticated client permitted to initiate QoS 2 message flows may still be able to exploit it. Authentication alone is therefore not a sufficient mitigation. * Ecosystem: `pip` * Package: `amqtt` * Affected versions: `>= 0.11.0, <= 0.12.0` The vulnerable code is present in the v0.11.0 release commit, 352678c87e50e501a8a5bb91fab73c9400fa046c,
Properties
- Severity
- high
- Summary
- aMQTT: Denial of Service (DoS) via Memory Leak in Unmanaged QoS 2 Session Handshakes
- Nvd fetched at
- 2026-11-22T12:30:49.958423+00:00
- Epss score
- 0.00623
- Cvss severity
- HIGH
- Cvss score
- 7.5
- Retrieved at
- 2026-11-22T12:32:26+00:00
- Ghsa published
- 2026-11-20T14:54:50Z
- Source url
- https://github.com/advisories/GHSA-wcqj-wx85-c75p
- Ghsa updated
- 2026-11-20T14:54:52Z
- Ghsa id
- GHSA-wcqj-wx85-c75p
- Last source
- FIRST EPSS
- Score
- 7.5
- Cvss version
- 3.1
- Cve id
- CVE-2026-130176
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- First seen by Signal
- 2026-11-19T23:31:53+00:00
- Name
- CVE-2026-130176
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Related Entities (4)
HAS_WEAKNESS (2)
AFFECTS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph