{"id":"CVE-2026-27889","published":"2026-03-25T19:36:36Z","modified":"2026-09-09T12:05:00Z","title":"NATS: Pre-auth remote server crash via WebSocket frame length overflow in wsRead","vendor":"nats-io","product":"nats-server","tier":"tail","description":{"text":"NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Starting in version 2.2.0 and prior to versions 2.11.14 and 2.12.5, a missing sanity check on a WebSockets frame could trigger a server panic in the nats-server.  This happens before authentication, and so is exposed to anyone who can connect to the websockets port. Versions 2.11.14 and 2.12.5 contains a fix. A workaround is available. The vulnerability only affects deployments which use WebSockets and which expose the network port to untrusted end-points. If one is able to do so, a defense in depth of restricting either of these will mitigate the attack.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00648,"percentile":0.51995,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-1286","name":"Improper Validation of Syntactic Correctness of Input"}],"references":[{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-pq2q-rcw4-3hr6","tags":["x_refsource_CONFIRM"]},{"url":"https://advisories.nats.io/CVE/secnote-2026-03.txt","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-27889","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451447","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27889.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22347","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23345","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21769","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.4},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nats-io","affectedVersions":[{"vendor":"nats-io","product":"nats-server","versions":[">= 2.2.0, < 2.11.14",">= 2.12.0, < 2.12.5"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-25T20:06:22.827675Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","vulnerableRanges":[">=2.2.0, <2.11.14",">=2.12.0, <2.12.5"],"patched":["2.11.14","2.12.5"],"from":["GHSA-pq2q-rcw4-3hr6","GO-2026-4841"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/nats-io/nats-server","vulnerableRanges":["all versions"],"patched":[],"from":["GHSA-pq2q-rcw4-3hr6","GO-2026-4841"],"provenance":"source"}],"summary":{"text":"The nats-server product from nats-io has a flaw in its WebSocket frame handling, within the wsRead component, where a missing sanity check on frame length can cause the server to panic. An unauthenticated remote attacker who can reach the WebSocket port can crash the server, but only on deployments that use WebSockets and expose that port to untrusted endpoints; restricting either WebSockets or network exposure mitigates the issue.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:11Z"},"euvd":{"id":"EUVD-2026-15962","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-46129","published":"2023-10-30","fixed":"2.10.4","kev":false},{"cve":"CVE-2025-30215","published":"2025-04-15","fixed":"2.11.1","kev":false},{"cve":"CVE-2026-27571","published":"2026-02-24","fixed":"2.12.3","kev":false,"link":{"from":"CVE-2026-27571","to":"CVE-2026-27889","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/nats-io/nats-server/v2","fromFixed":"2.11.12","toFixed":"2.11.14","daysApart":29}]}},{"cve":"CVE-2026-27889","published":"2026-03-25","fixed":"2.12.5","kev":false},{"cve":"CVE-2026-29785","published":"2026-03-25","fixed":"2.12.5","kev":false},{"cve":"CVE-2026-33215","published":"2026-03-24","fixed":"2.12.6","kev":false},{"cve":"CVE-2026-33216","published":"2026-03-25","fixed":"2.12.6","kev":false}],"package":"Go:github.com/nats-io/nats-server/v2"}}