CVE-2025-59139
CVE-2025-59139 is a medium-severity vulnerability in Hono with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-400.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 0% (33rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-29042
- Weakness: CWE-400
- Affected product: Hono
- Published:
- Last modified:
Description
Hono is a Web application framework that provides support for any JavaScript runtime. In versions prior to 4.9.7, a flaw in the `bodyLimit` middleware could allow bypassing the configured request body size limit when conflicting HTTP headers were present. The middleware previously prioritized the `Content-Length` header even when a `Transfer-Encoding: chunked` header was also included. According to the HTTP specification, `Content-Length` must be ignored in such cases. This discrepancy could allow oversized request bodies to bypass the configured limit. Most standards-compliant runtimes and reverse proxies may reject such malformed requests with `400 Bad Request`, so the practical impact depends on the runtime and deployment environment. If body size limits are used as a safeguard against large or malicious requests, this flaw could allow attackers to send oversized request bodies. The primary risk is denial of service (DoS) due to excessive memory or CPU consumption when handling very large requests. The implementation has been updated to align with the HTTP specification, ensuring that `Transfer-Encoding` takes precedence over `Content-Length`. The issue is fixed in Hono v4.9.7, and all users should upgrade immediately.
Frequently asked questions
- What is CVE-2025-59139?
- Hono is a Web application framework that provides support for any JavaScript runtime. In versions prior to 4.9.7, a flaw in the `bodyLimit` middleware could allow bypassing the configured request body size limit when conflicting HTTP headers were present. The middleware previously prioritized the `Content-Length` header even when a `Transfer-Encoding: chunked` header was also included. According to the HTTP specification, `Content-Length` must be ignored in such cases. This discrepancy could allow oversized request bodies to bypass the configured limit. Most standards-compliant runtimes and reverse proxies may reject such malformed requests with `400 Bad Request`, so the practical impact depends on the runtime and deployment environment. If body size limits are used as a safeguard against large or malicious requests, this flaw could allow attackers to send oversized request bodies. The primary risk is denial of service (DoS) due to excessive memory or CPU consumption when handling very large requests. The implementation has been updated to align with the HTTP specification, ensuring that `Transfer-Encoding` takes precedence over `Content-Length`. The issue is fixed in Hono v4.9.7, and all users should upgrade immediately.
- How severe is CVE-2025-59139?
- CVE-2025-59139 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2025-59139 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (33rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-59139?
- CVE-2025-59139 affects Hono. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-59139?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-59139 have an EU (EUVD) identifier?
- Yes. CVE-2025-59139 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-29042.
- When was CVE-2025-59139 published?
- CVE-2025-59139 was published on 2025-09-12 and last updated on 2026-06-17.
References
- https://github.com/honojs/hono/commit/605c70560b52f13af10379f79b76717042fafe8d
- https://github.com/honojs/hono/security/advisories/GHSA-92vj-g62v-jqhh
Affected products (1)
- cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*
More vulnerabilities in Hono
- CVE-2026-27700 — High (CVSS 8.2): Hono is a Web application framework that provides support for any JavaScript runtime. In versions 4.12.0 and 4.12.1,…
- CVE-2026-22818 — High (CVSS 8.2): Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.11.4, there is a flaw…
- CVE-2026-22817 — High (CVSS 8.2): Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.11.4, there is a flaw…
- CVE-2025-62610 — High (CVSS 8.1): Hono is a Web application framework that provides support for any JavaScript runtime. In versions from 1.1.0 to before…
- CVE-2026-39408 — High (CVSS 7.5): Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path…
- CVE-2026-29045 — High (CVSS 7.5): Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, when…
Other CWE-400 (Uncontrolled Resource Consumption) vulnerabilities
- CVE-2026-46775 — Critical (CVSS 9.9): Vulnerability in Oracle REST Data Services (component: Core). Supported versions that are affected are 24.2.0-26.1.0.…
- CVE-2025-61303 — Critical (CVSS 9.8): Hatching Triage Sandbox Windows 10 build 2004 (2025-08-14) and Windows 10 LTSC 2021(2025-08-14) contains a…
- CVE-2025-43193 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7,…
- CVE-2025-24269 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4. An app may be able to…
- CVE-2025-24264 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS 18.4,…
- CVE-2025-24260 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5,…
Browse all CWE-400 (Uncontrolled Resource Consumption) vulnerabilities →