{"id":"UBUNTU-CVE-2026-29785","details":"NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.14 and 2.12.5, if the nats-server has the \"leafnode\" configuration enabled (not default), then anyone who can connect can crash the nats-server by triggering a panic. This happens pre-authentication and requires that compression be enabled (which it is, by default, when leafnodes are used). Versions 2.11.14 and 2.12.5 contain a fix. As a workaround, disable compression on the leafnode port.","modified":"2026-07-02T18:02:11.298115027Z","published":"2026-03-25T20:16:00Z","upstream":["CVE-2026-29785"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-29785"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-29785"},{"type":"REPORT","url":"https://advisories.nats.io/CVE/secnote-2026-04.txt"},{"type":"REPORT","url":"https://github.com/nats-io/nats-server/commit/a1488de6f2ba6e666aef0f9cce0016f7f167d6a8"},{"type":"REPORT","url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-52jh-2xxh-pwh6"}],"affected":[{"package":{"name":"nats-server","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nats-server?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.19-1build1","2.10.3-1","2.10.4-1","2.10.7-1","2.10.7-1ubuntu0.1","2.10.7-1ubuntu0.2","2.10.7-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-nats-io-nats-server-dev","binary_version":"2.10.7-1ubuntu0.3"},{"binary_name":"nats-server","binary_version":"2.10.7-1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-29785.json"}},{"package":{"name":"nats-server","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/nats-server?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.24-1","2.10.27-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-nats-io-nats-server-dev","binary_version":"2.10.27-1"},{"binary_version":"2.10.27-1","binary_name":"nats-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-29785.json"}},{"package":{"name":"nats-server","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/nats-server?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.27-1","2.10.27-1build1","2.10.27-1ubuntu0.26.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-nats-io-nats-server-dev","binary_version":"2.10.27-1ubuntu0.26.04.1~esm1"},{"binary_version":"2.10.27-1ubuntu0.26.04.1~esm1","binary_name":"nats-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-29785.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}