Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

eclipse-mosquitto/mosquitto
master @ 7ecbb80
286
Fixes
26
CVEs
CRITICAL
Peak severity
20.0%
Coverage
Highlights
Denial of Service: 162 prior fixes. Scrutinize any change in this area.
src/loop.c: most-fixed (25 issues). Treat as high-risk during review.
109 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Denial of Service: Inflight message limits and quotas (such as incoming QoS 2 tracking) were not strictly enforced, leading to memory exhaustion when flooded with unrouted messages. This is a critical vector for remote, unauthenticated exhaustion of system RAM.
Auth Bypass: Incorrect handling of empty configuration parameters, lack of username/client ID trimming, and malformed password file lines allowed unauthenticated connections to bypass standard checks or inherit default-allow policies.
Memory Corruption: The dynamic security plugin has suffered from recurrent use-after-free and double-free issues, particularly when deleting clients, groups, or roles before their respective relationships or JSON structures are safely removed or untracked.