Skip to content
DayZeroHub
High Not yet writtenCVSS 8.7GHSA-2hjf-7455-w946CVE-2026-104199

CVE-2026-104199: aMQTT: Inefficient Regular Expression Complexity and Uncontrolled Resource Consumption and Improper Input Validation

Yakifo amqtt

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-104199: high-severity vulnerability (CVSS 8.7) in Yakifo amqtt.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.7.

Affected products and versions

amqtt >= 0.11.0, <= 0.11.3 (fixed in 0.11.4); Yakifo amqtt >= 0.11.0, < 0.11.4

ProductVersionsFixed in
amqtt>= 0.11.0, <= 0.11.30.11.4
Yakifo amqtt>= 0.11.0, < 0.11.4—

Action recommended by the source

Upgrade to a fixed version: 0.11.4.

Fixed in: 0.11.4

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-20, CWE-400, CWE-1333

Relevant change history

  1. Published

    Preliminary advisory published.