{"id":"CVE-2025-11678","state":"PUBLISHED","title":"Stack-based Buffer Overflow in libwebsockets DNS response parsing","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.","publishedAt":"2025-10-20T13:51:17.328Z","updatedAt":"2025-10-20T14:00:37.720Z","severity":{"score":7.5,"label":"High","version":"4.0","vector":"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","source":"Nozomi"},"assigner":"Nozomi","products":["warmcat libwebsocket"],"affected":[{"vendor":"warmcat","product":"libwebsocket","defaultStatus":"unaffected","versions":[{"version":"4.0","status":"affected","lessThanOrEqual":"4.4.2","versionType":"semver"},{"version":"4.0","status":"affected","lessThanOrEqual":"4.3.6","versionType":"semver"}],"collectionURL":"https://libwebsockets.org/git/libwebsockets","modules":["lws_adns_parse_label"]}],"references":["https://libwebsockets.org/git/libwebsockets/commit?id=2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a","https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2025-11678"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/11xxx/CVE-2025-11678.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-11678","state":"PUBLISHED","datePublished":"2025-10-20T13:51:17.328Z","dateUpdated":"2025-10-20T14:00:37.720Z","assignerShortName":"Nozomi","assignerOrgId":"bec8025f-a851-46e5-b3a3-058e6b0aa23c","dateReserved":"2025-10-13T09:56:39.308Z"},"containers":{"cna":{"title":"Stack-based Buffer Overflow in libwebsockets DNS response parsing","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"warmcat","product":"libwebsocket","defaultStatus":"unaffected","versions":[{"version":"4.0","status":"affected","lessThanOrEqual":"4.4.2","versionType":"semver"},{"version":"4.0","status":"affected","lessThanOrEqual":"4.3.6","versionType":"semver"}],"collectionURL":"https://libwebsockets.org/git/libwebsockets","modules":["lws_adns_parse_label"]}],"references":[{"url":"https://libwebsockets.org/git/libwebsockets/commit?id=2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a","tags":["patch","vendor-advisory"]},{"url":"https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2025-11678","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"ADJACENT","baseScore":7.5,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Nozomi","orgId":"bec8025f-a851-46e5-b3a3-058e6b0aa23c","dateUpdated":"2025-10-20T13:51:17.328Z"},"credits":[{"lang":"en","type":"finder","value":"Raffaele Bova at Nozomi Networks"}],"impacts":[{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 Overflow Buffers"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Update the library to its latest stable release, if not possible backport the fix commit 2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a"}],"value":"Update the library to its latest stable release, if not possible backport the fix commit 2bb9598562b37c942ba5b04bcde3f7fdf66a9d3a"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-10-20T14:00:20.705552Z","id":"CVE-2025-11678","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-20T14:00:37.720Z"}}]}}}