Skip to content
High 7.5

amqttに遠隔からサービス拒否される脆弱性、QoS 2のメモリ解放漏れ

CVE-2026-130176 First seen on SecPulse

Summary

amqttには、QoS 2の通信が途中で切断されると確保したメモリが解放されず、メモリを使い果たしてブローカーが停止するおそれのある脆弱性があります。影響を受けるのはPyPI版の0.11.0以上0.12.1未満で、0.12.1で修正されています。0.12.1以上へのアップデートをおすすめします。攻撃は接続と切断を繰り返すだけで行えるため、利用しているなら早めに対応を検討してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

amqttには、QoS 2の通信が途中で切断されると確保したメモリが解放されず、メモリを使い果たしてブローカーが停止するおそれのある脆弱性があります。影響を受けるのはPyPI版の0.11.0以上0.12.1未満で、0.12.1で修正されています。0.12.1以上へのアップデートをおすすめします。攻撃は接続と切断を繰り返すだけで行えるため、利用しているなら早めに対応を検討してください。

Affected packages

PackageAffected → Fixed
Yakifoamqtt —
PyPIamqtt
≥ 0.11.0, < 0.12.1→ 0.12.1
pipamqtt
< 0.12.1→ 0.12.1

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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 connecti…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details