Resource exhaustion in nats-server - #VU166200
Published: November 13, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service through excessive memory consumption.
The vulnerability exists due to uncontrolled resource consumption in JetStream backup format detection when processing incoming compressed stream backups. A remote user can submit a crafted backup using stream-restore permissions to cause incoming data to accumulate without a finite buffer limit while format detection waits for recognizable output, exhausting memory and disrupting the server process.
Account stream-storage limits do not bound the temporary format-detection buffer.