NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets
Historical advisory saved 23 Nov 2026 21:27:08 UTC. The publisher may have updated it since then. Latest advisory.
osv · GHSA-r72h-j7qq-v6qg
Published### Background NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing. The NATS Server supports MQTT clients, including authentication and parsing of MQTT `CONNECT` packets. ### Problem Description An unauthenticated MQTT client could cause the server to retain large incomplete MQTT `CONNECT` packets before authentication completed. The parser retained partial pre-authentication packet data while waiting for the advertised MQTT packet length to be completed. An attacker could therefore consume server memory until authentication timeouts closed the connections. ### Affected Versions Versions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12. ### Workarounds Deployments not using MQTT are not affected. Deployments that need MQTT should upgrade to a fixed release. ### References * GHSA advisory: <https://github.com/nats-io/nats-server/security/advisories/GHSA-r72h-j7qq-v6qg> * Credit: Asritha Bodepudi, Trail of Bits
- Source published
- 20 Nov 2026 00:04:46 UTC
- Source modified
- 23 Nov 2026 20:40:48 UTC
- Saved here
- 23 Nov 2026 21:27:08 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher rating · HIGH