Allocation of Resources Without Limits or Throttling in nats-server - #VU166209
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service affecting the entire server process through resource exhaustion.
The vulnerability exists due to allocation of resources without consistently enforced size limits in the nats-server MQTT packet reader when processing subscription requests after CONNECT. A remote attacker can send oversized subscription packets that reach buffering and filter parsing despite max_payload to cause excessive memory allocations and exhaust server resources before subscription-count limits are applied.