Allocation of Resources Without Limits or Throttling in nats-server - #VU166206
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through memory and CPU exhaustion, affecting other clients and accounts, including users of other protocols.
The vulnerability exists due to insufficient enforcement of buffering limits and repeated copying of accumulated data in the NATS Server MQTT packet assembly component when assembling packets after CONNECT. A remote attacker can send an oversized or slowly completed packet to consume excessive memory and CPU before message-level checks run, causing a denial of service.