CVE-2025-1866
published critical CVSS 4.0 · 10.0Undefined Behavior Due to Out-of-Bounds Pointer Arithmetic in libwebsockets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| warmcat | — | libwebsockets0 to < <4.3.4 (affected · git); changes: unaffected at patch 4.3.4 · Other versions: unaffected | Version-specific | Not stated | GovTech CSG |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GovTech CSG · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| warmcat | libwebsockets | 0 to < <4.3.4 (affected · git); changes: unaffected at patch 4.3.4Default: unaffected | GovTech CSG · cna |
Weaknesses
1- CWE-119 CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
1Provider assertions
2GovTech CSG · cna
Undefined Behavior Due to Out-of-Bounds Pointer Arithmetic in libwebsockets
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5d85f1b5f5a7d06fe63205998eb3943cd7bbee852294721fcf3db6cf83e18895
- Ingested
- 23 Sep 2026, 08:38:52 UTC
- Source record
- Official CVE record