ZeroHour

CVE-2026-38821

moderate

Heap buffer overflow in openNDS captive portal enables DoS, possible RCE

CVSS 3.1
7.1 high
EPSS
<1%p10
Published
()
Modified
AI analysis

openNDS, an open-source captive portal daemon typically run on routers and gateways to handle guest Wi-Fi logins, contains a heap-based buffer overflow (CWE-122) in http_microhttpd.c affecting all versions before 11.0.0. An unauthenticated attacker connected to the captive portal network can send crafted requests that corrupt heap memory, crashing the openNDS daemon and potentially executing code on the device. Because the attack complexity is rated high, remote code execution is plausible but not guaranteed; denial of service is the certain impact. Any deployment running openNDS prior to 11.0.0 is affected, with the attacker needing adjacency to the portal network rather than generic internet access. No public proof-of-concept or known exploitation exists, and EPSS estimates only about a 0.2% probability of exploitation in the next 30 days.

What to do: Upgrade to openNDS 11.0.0 or later, which fixes the overflow in http_microhttpd.c. Until upgraded, restrict the captive portal network to trusted clients, monitor the openNDS daemon for crashes, and enable automatic restart as a stopgap. Check whether your router or gateway firmware bundles openNDS and whether the captive portal service is actually enabled before prioritizing patching.

Affected
openNDS (open-source project) openNDSall versions before 11.0.0
Estimated exposure
moderateplausibly on the order of tens of thousands of gateway/router deployments (estimate; no public install counts or scan data) — openNDS is an opt-in captive portal packaged for OpenWrt and similar open router firmware, and with no published install counts or internet-exposure scans the deployed base of affected gateways is best estimated in the…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A heap-based buffer overflow vulnerability exists in openNDS before 11.0.0 that allows an unauthenticated attacker on the captive portal network to crash the openNDS daemon (denial of service) and potentially achieve remote code execution. This is in http_microhttpd.c.

Weakness
CWE-122
Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

In the news

No ingested article mentions this CVE yet.