CVE-2026-97152

Description

A flaw was found in Nanomsg. A remote attacker could exploit a buffer overflow vulnerability in the WebSocket transport by sending a specially crafted Sec-WebSocket-Version header. This issue arises from an unchecked copy operation using snprintf. Successful exploitation of this flaw could lead to arbitrary code execution or a denial of service.

Statement

This flaw is rated as Critical impact because an unauthenticated remote adversary can trigger memory corruption to execute arbitrary code or crash the application without privileges or user interaction. Nanomsg is not included in supported Red Hat Enterprise Linux offerings and is packaged exclusively for community repositories such as Fedora and EPEL. Exposure is restricted to environments deploying custom applications that link against the library and expose WebSocket listener endpoints to untrusted network traffic.

Understanding the Weakness (CWE)

Integrity,Confidentiality,Availability

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Buffer overflows often can be used to execute arbitrary code, which is usually outside the scope of the product's implicit security policy. This can often be used to subvert any other security service.

Availability

Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU)

Buffer overflows generally lead to crashes. Other attacks leading to lack of availability are possible, including putting the product into an infinite loop.

Frequently Asked Questions

Want to get errata notifications? Sign up here.