CVE-2025-1866 - CVE House
Back to Database
Status published Critical CVE-2025-1866

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

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-1866

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • TITAN Team (titancaproject@gmail.com)

Affected Vendor

Affected Software

libwebsockets
Vulnerable Versions:
0

Timeline

Official Publish: March 3rd, 2025
Last Modified: March 3rd, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)