CVE-2025-1866

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

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.

Category

10.0
CVSS
Severity: Critical
CVSS 4.0 •
EPSS 0.06%
Affected: warmcat libwebsockets
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-1866?
CVE-2025-1866 has been scored as a critical severity vulnerability.
How to fix CVE-2025-1866?
To fix CVE-2025-1866, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-1866 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-1866 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-1866?
CVE-2025-1866 affects warmcat libwebsockets.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.