Resource exhaustion in nats-server - #VU166208
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through excessive memory consumption, stalled message delivery, or server process termination.
The vulnerability exists due to uncontrolled memory allocation in the nats-server queue subscription matching logic when resolving subscriptions using weights supplied by route or leafnode peers. A remote attacker can supply a crafted queue subscription weight through an accepted route or leafnode peer to exhaust server memory and disrupt message delivery.