CVE-2026-71848

Source
https://cve.org/CVERecord?id=CVE-2026-71848
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71848.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-71848
Aliases
Downstream
Published
2026-08-07T18:36:16.872Z
Modified
2026-08-09T03:47:23.880240091Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Hono: Algorithmic Complexity DoS in Language Middleware
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-407"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71848.json"
}
References

Affected packages

Git / github.com/honojs/hono

Affected ranges

Type
GIT
Repo
https://github.com/honojs/hono
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "4.12.0"
        },
        {
            "fixed": "4.12.34"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v4.*
v4.12.0
v4.12.1
v4.12.10
v4.12.11
v4.12.12
v4.12.13
v4.12.14
v4.12.15
v4.12.16
v4.12.17
v4.12.18
v4.12.19
v4.12.2
v4.12.20
v4.12.21
v4.12.22
v4.12.23
v4.12.24
v4.12.25
v4.12.26
v4.12.27
v4.12.28
v4.12.29
v4.12.3
v4.12.30
v4.12.31
v4.12.32
v4.12.33
v4.12.4
v4.12.5
v4.12.6
v4.12.7
v4.12.8
v4.12.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71848.json"