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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.63% (percentile 45, 2026-11-28)
- **CWE:** CWE-401, CWE-772
- **Aliases:** GHSA-wcqj-wx85-c75p
- **Published:** 2026-11-19T19:54:41.358Z
- **Modified:** 2026-11-20T17:18:09.357Z

## Who should check

- Projects that depend on PyPI package amqtt (\>= 0.11.0, \<= 0.12.0)
- Anyone running Yakifo amqtt \>= 0.11.0, \< 0.12.1

## Description

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.

## Affected and fixed versions

- PyPI `amqtt`: affected \>= 0.11.0, \<= 0.12.0; fixed 0.12.1 (ghsa)
- Yakifo amqtt: \>= 0.11.0, \< 0.12.1 (cvelist)

## Technologies

PyPI packages

## Mitigation

- Upgrade amqtt to 0.12.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-130176. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-130176.md
Affected: amqtt >= 0.11.0, <= 0.12.0
Fixed in: 0.12.1

Steps:
1. Search this machine and project for amqtt (PyPI), Yakifo amqtt: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-130176 being exploited?

There is no confirmed exploitation: CVE-2026-130176 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.63% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-130176?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-130176?

amqtt \>= 0.11.0, \<= 0.12.0.

### Is there a fix for CVE-2026-130176?

Yes. Fixed in 0.12.1. Upgrade amqtt to 0.12.1 or later.

### How do I check if I'm affected by CVE-2026-130176?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Yakifo/amqtt/security/advisories/GHSA-wcqj-wx85-c75p>
- patch: <https://github.com/Yakifo/amqtt/pull/404>
- patch: <https://github.com/Yakifo/amqtt/commit/2755fd801a6f95e9b73e11116948b57a95348466>
- patch: <https://github.com/Yakifo/amqtt/commit/64a6f8c3ebc47640f2e092885c1d504c8f34f1af>
- other: <https://github.com/Yakifo/amqtt/releases/tag/v0.12.1>
- other: <https://nvd.nist.gov/vuln/detail/CVE-2026-130176>
- other: <https://github.com/advisories/GHSA-wcqj-wx85-c75p>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-130176>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-wcqj-wx85-c75p> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-130176> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-130176>
