CVE-2025-1866

published 3 Mar 2025 · updated 3 Mar 2025

Undefined Behavior Due to Out-of-Bounds Pointer Arithmetic in libwebsockets

10.0CriticalCVSS 10.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in <4.3.4.

Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows Pointer Manipulation, potentially leading to out-of-bounds memory access. This issue affects libwebsockets before 4.3.4 and is present in code built specifically for the Win32 platform. By default, the affected code is not executed unless one of the following conditions is met: LWS_WITHOUT_EXTENSIONS (default ON) is manually set to OFF in CMake. LWS_WITH_HTTP_STREAM_COMPRESSION (default OFF) is manually set to ON in CMake. Despite these conditions, when triggered in affected configurations, this vulnerability may allow attackers to manipulate pointers, potentially leading to memory corruption or unexpected behavior.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
warmcat<<4.3.4<4.3.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-1866 severity on Zeptric[![CVE-2025-1866](https://zeptric.io/badge/cve/CVE-2025-1866.svg)](https://zeptric.io/cve/CVE-2025-1866)