{"answers":{"affected":"2 open source packages ship an affected version, including hono.","exploited":"There is no known exploitation of CVE-2026-71848 in the wild and no public exploit code.","fix":"Upgrade hono to 4.12.34 or later.","what":"CVE-2026-71848 is a medium-severity denial of service vulnerability in honojs hono, published on 7 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-71848 and fix it if it is affected.\n\nWhat it is: CVE-2026-71848 is a medium-severity denial of service vulnerability in honojs hono, published on 7 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-71848 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- hono (npm): affected from 4.12.0; fixed in 4.12.34\n- hono (npm): affected from 4.12.0; fixed in 4.12.34\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-71848/ (Markdown: https://insights.sbomify.com/CVE-2026-71848/index.md)","id":"CVE-2026-71848","markdown":"https://insights.sbomify.com/CVE-2026-71848/index.md","name":"CVE-2026-71848","record":{"aliases":["CLEANSTART-2026-KR37060","ECHO-3479-a34e-1fda","GHSA-54fx-42gc-7vw4","MINI-3gvp-78w5-q7cw","MINI-3wwr-w4xh-84pw","MINI-5596-fxvv-prgm","MINI-65xp-h6qh-8c4c","MINI-8vqw-5x2x-hr3j","MINI-m7mg-hj9p-5chw","MINI-m9rv-4xx3-cfpv","MINI-vp35-v2fp-4v7f","MINI-wfxj-57j9-gr9x","MINI-wpf3-8v9r-wh67","MINI-x8q9-vr5w-pp45"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript web framework","requires_auth":"none","summary":"An attacker can cause excessive CPU consumption and service disruption by sending crafted language tags to applications using the Hono framework's language middleware.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Hono: Algorithmic Complexity DoS in Language Middleware","id":"CVE-2026-71848","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Hono: Proxy Helper does not remove response headers listed in the `Connection` header","id":"CVE-2026-71849"},"packages":[{"ecosystem":"npm","fixed":["4.12.34"],"introduced":["4.12.0"],"last_affected":[],"package":"hono","purl":null,"source":"GHSA-54fx-42gc-7vw4"},{"ecosystem":"npm","fixed":["4.12.34"],"introduced":["4.12.0"],"last_affected":[],"package":"hono","purl":"pkg:npm/hono","source":"GHSA-54fx-42gc-7vw4"}],"prev":{"headline":"Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams","id":"CVE-2026-71847"},"products":["hono"],"published":"2026-08-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-08","vendors":["honojs"]},"summary":"An attacker can cause excessive CPU consumption and service disruption by sending crafted language tags to applications using the Hono framework's language middleware.","url":"https://insights.sbomify.com/CVE-2026-71848/"}