Yakifo aMQTT
aMQTT: Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption and Improper Input Validation
aMQTT is an open source MQTT broker and client. From 0.11.0 until 0.11.4, add_subscription() in amqtt/broker.py accepts malformed single-level + wildcard placement because it checks substrings instead of validating each slash-delimited level. The _matches() function converts each + into a greedy regular-expression fragment and evaluates it with re.fullmatch(), allowing a filter containing many adjacent + characters to trigger catastrophic backtracking when compared with a topic that partially matches but ultimately fails. Because matching runs synchronously in _run_broadcast(), one subscription followed by a publish can block the broker event loop, stopping message delivery and new connection processing until restart. Anonymous clients can trigger the issue with the default configuration. Any authenticated client permitted to create arbitrary subscriptions and publish messages may still exploit it when authentication is enabled. This issue is fixed in version 0.11.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.11.0, < 0.11.4
Fixed in 0.11.4
Mitigation
Upgrade amqtt to 0.11.4 or later.
References
- Vendor advisory github.com/Yakifo/amqtt/security/advisories/GH…
- Patch github.com/Yakifo/amqtt/pull/361
- Patch github.com/Yakifo/amqtt/commit/e48a8a65027667f…
1 more
- Release notes github.com/Yakifo/amqtt/releases/tag/v0.11.4
Timeline
Days relative to CVE publicationFirst public PoC 1.1 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-104199 (created 20 Nov 2026, found by us: 20 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-104199 | 20 Nov 2026 +1.1 d | 20 Nov 2026 | 0 | Scanner |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.