Algorithmic Complexity Denial of Service in Hono Web Application Framework
CVE-2026-71848

5.3MEDIUM

Key Information:

Vendor

Honojs

Status
Vendor
CVE Published:
7 August 2026

What is CVE-2026-71848?

The Hono Web Application Framework is susceptible to an algorithmic complexity denial of service due to its languageDetector middleware, which mishandles crafted language tags with numerous hyphen-separated subtags. The vulnerability arises from the normalizeLanguage() function, which employs a quadratic time complexity when processing these tags as it continuously slices and joins string components. This flaw exposes applications using this framework to the risk of excessive CPU usage as an attacker can send repetitive requests with long language tags. This not only hinders the processing of legitimate requests but can also lead to overall service unavailability. The vulnerability has been addressed in version 4.12.34.

Affected Version(s)

hono >= 4.12.0, < 4.12.34

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.