CVE-2025-11678
published high CVSS 4.0 · 7.5Stack-based Buffer Overflow in libwebsockets DNS response parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| warmcat | — | libwebsocket4.0 through 4.4.2 · 4.0 through 4.3.6 · Other versions: unaffected | Affected | Not stated | Nozomi |
| Ubuntu | jammy | libwebsockets | Advisory build | 4.0.20-2ubuntu1.1 | USN-8024-1 |
| Ubuntu | jammy | libwebsockets-test-server | Advisory build | 4.0.20-2ubuntu1.1 | USN-8024-1 |
| Ubuntu | jammy | libwebsockets-test-server-common | Advisory build | 4.0.20-2ubuntu1.1 | USN-8024-1 |
| Ubuntu | jammy | libwebsockets16 | Advisory build | 4.0.20-2ubuntu1.1 | USN-8024-1 |
| Ubuntu | noble | libwebsockets | Advisory build | 4.3.3-1.1ubuntu0.1~esm1 | USN-8024-1 |
| Ubuntu | noble | libwebsockets-evlib-ev | Advisory build | 4.3.3-1.1ubuntu0.1~esm1 | USN-8024-1 |
| Ubuntu | noble | libwebsockets-evlib-glib | Advisory build | 4.3.3-1.1ubuntu0.1~esm1 | USN-8024-1 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | libwebsockets-evlib-uv | Advisory build | 4.3.3-1.1ubuntu0.1~esm1 | USN-8024-1 |
| Ubuntu | noble | libwebsockets-test-server | Advisory build | 4.3.3-1.1ubuntu0.1~esm1 | USN-8024-1 |
| Ubuntu | noble | libwebsockets-test-server-common | Advisory build | 4.3.3-1.1ubuntu0.1~esm1 | USN-8024-1 |
| Ubuntu | noble | libwebsockets19t64 | Advisory build | 4.3.3-1.1ubuntu0.1~esm1 | USN-8024-1 |
Description
Stack-based Buffer Overflow in lws_adns_parse_label in warmcat libwebsockets allows, when the LWS_WITH_SYS_ASYNC_DNS flag is enabled during compilation, to overflow the label_stack, when the attacker is able to sniff a DNS request in order to craft a response with a matching id containing a label longer than the maximum.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Nozomi · cna
- Vector string
- CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| warmcat | libwebsocket | 4.0 through 4.4.2 (affected · semver)4.0 through 4.3.6 (affected · semver)Default: unaffected | Nozomi · cna |
Weaknesses
1- CWE-121 CWE-121 Stack-based Buffer Overflow
References
2Provider assertions
2Nozomi · cna
Stack-based Buffer Overflow in libwebsockets DNS response parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3c298f4dbe0b75f0c0770c89a8ea032c158e2adb78a5a05a6b67b3d8ef6ee926
- Ingested
- 23 Sep 2026, 08:36:20 UTC
- Source record
- Official CVE record