Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-1866— Undefined Behavior Due to Out-of-Bounds Pointer Arithmetic in libwebsockets

Quick assessment

Affected
warmcat libwebsockets
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Libwebsockets是lws-team开源的一个规范的 libwebsockets 网络库。 libwebsockets 4.3.4之前版本存在安全漏洞,该漏洞源于指针操作不当,可能导致越界内存访问。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.41% · P34
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-1866

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Undefined Behavior Due to Out-of-Bounds Pointer Arithmetic in libwebsockets
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Source: CVE Program / CVE List V5
Vulnerability Type
内存缓冲区边界内操作的限制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
libwebsockets 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Libwebsockets是lws-team开源的一个规范的 libwebsockets 网络库。 libwebsockets 4.3.4之前版本存在安全漏洞,该漏洞源于指针操作不当,可能导致越界内存访问。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
warmcat libwebsockets 0 ~ <4.3.4 -

II. Public POCs for CVE-2025-1866

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-1866

登录查看更多情报信息。

Patches & Fixes for CVE-2025-1866 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-1866

No comments yet


Leave a comment