CVE-2026-71848 Details
Description
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.0 to 4.12.33, the languageDetector middleware is vulnerable to algorithmic complexity denial of service when processing a crafted language tag containing a large number of hyphen separated subtags. To implement progressive language tag truncation, normalizeLanguage() repeatedly calls parts.slice(0, i).join('-') for every possible prefix, so the total amount of string processing grows quadratically with the number of subtags. Language values may come from a query parameter, cookie, Accept-Language header, or URL path, depending on the detector configuration, and the default detector order enables query string, cookie, and header detection, so applications using languageDetector() may expose this processing to unauthenticated requests. An attacker may repeatedly send requests containing long, hyphen separated language tags, causing excessive CPU consumption and preventing unrelated requests from being processed. This issue is fixed in version 4.12.34.
A denial-of-service vulnerability has been identified in the Hono web application framework, specifically in versions 4.12.0 prior to 4.12.34. The issue arises in the languageDetector middleware, which is susceptible to algorithmic complexity attacks. When processing a crafted language tag with a large number of hyphen-separated subtags, the middleware's normalization function can cause excessive CPU consumption. This processing delay can block the event loop, preventing unrelated requests from being handled. The vulnerability can be exploited by sending long, hyphen-separated language tags through query parameters, cookies, the Accept-Language header, or URL paths, depending on the detector configuration. The default settings allow for detection via query strings, cookies, and headers, potentially exposing the vulnerability to unauthenticated requests.
Users are advised to upgrade to Hono version 4.12.34, which addresses this vulnerability by improving the language normalization process to prevent algorithmic complexity issues.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 7, 2026CISA-ADP
Assessed Aug 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/honojs/hono/commit/f70e2c31684387b3231cc38512a31df6ca76a1c7 | [email protected] | Source CodeVendor |
| https://github.com/honojs/hono/releases/tag/v4.12.34 | [email protected] | Release NotesVendor |
| https://github.com/honojs/hono/security/advisories/GHSA-54fx-42gc-7vw4 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Hono | >= 4.12.0, < 4.12.34 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 8, 2026 | CVE Modified | CISA-ADP |
| Aug 7, 2026 | New CVE Received | [email protected] |
Volerion