CVE-2026-104199 aMQTT: Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption and Improper Input Validation
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
5 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/amqtt(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/amqtt(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/amqtt(Debian 14) | < 0.11.4-1; = 0.11.3-1; = 0.11.3-2 | 0.11.4-1 | Fixed |
| pypi amqtt(PyPI) | = 0.11.0; = 0.11.1; = 0.11.2; = 0.11.3 +2 more | 0.11.4 | Fixed |
| Yakifo amqtt | = >= 0.11.0, < 0.11.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi amqtt(PyPI) | >= 0.11.0, <= 0.11.3 | No fix listed |
| pypi amqtt(PyPI) | >= 0.11.0, < 0.11.4 | 0.11.4 |
| pypi amqtt(PyPI) | = 0.11.0 | No fix listed |
| pypi amqtt(PyPI) | = 0.11.1 | No fix listed |
| pypi amqtt(PyPI) | = 0.11.2 | No fix listed |
| pypi amqtt(PyPI) | = 0.11.3 | No fix listed |
| Yakifo amqtt | = >= 0.11.0, < 0.11.4 | No fix listed |
| debian/amqtt(Debian:14) | < 0.11.4-1 | 0.11.4-1 |
| debian/amqtt(Debian:14) | = 0.11.3-1 | No fix listed |
| debian/amqtt(Debian:14) | = 0.11.3-2 | No fix listed |
| ubuntu/amqtt(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/amqtt(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/Yakifo/amqtt/security/advisories/GHSA-2hjf-7455-w946 vendor-advisory
- https://github.com/Yakifo/amqtt/pull/361 patch
- https://github.com/Yakifo/amqtt/commit/e48a8a65027667f936d415db7f01d3ac350104e0 patch
- https://github.com/Yakifo/amqtt/releases/tag/v0.11.4
- ENISA EUVD EUVD-2026-130571 third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- Debian Security Tracker CVE-2026-104199 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org