cve.bz

CVE-2026-126343

@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process

5.3 mediumFix available

Medium (5.3) in honojs node-server. Fixed in @hono/node-server 2.1.6.

On this page
@hono/node-server allows running the Hono application on Node.js. From 2.0.0 until 2.1.6, the WebSocket upgrade handler waits for the Hono application to finish asynchronous middleware or handler work without first attaching an error listener to the socket. If an unauthenticated client resets the TCP connection during that window, the socket emits an unhandled ECONNRESET error and terminates the Node.js process. If a global uncaughtException handler suppresses termination, the pending upgrade waiter is not released and repeated requests can grow the heap. This affects applications that enable WebSocket support and perform asynchronous work on the upgrade path. This issue is fixed in version 2.1.6.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE
CWE-248 Uncaught Exception
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-126343 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-126343?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-126343?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-126343 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-126343

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-126343](https://cve.bz/cve/badge/CVE-2026-126343.svg)](https://cve.bz/cve/CVE-2026-126343)

HTML:

<a href="https://cve.bz/cve/CVE-2026-126343"><img src="https://cve.bz/cve/badge/CVE-2026-126343.svg" alt="CVE-2026-126343"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
honojs node-server>= 2.0.0, < 2.1.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qv5m-9pm6-hqp3npm@hono/node-server>=2.0.0 <2.1.62.1.6

References

Check your stackJSON