CVE-2025-59139
Last modified
CVE-2025-59139 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hono | Hono | < 4.9.7 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-59139?
How severe is CVE-2025-59139?
How do I fix CVE-2025-59139?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-59133Custom role Insecure Direct Object References (IDOR) in Proj…7.5
- CVE-2025-59134Incorrect Privilege Assignment vulnerability in Jthemes Sale…8.8
- CVE-2025-59135Improper Neutralization of Input During Web Page Generation …5.9
- CVE-2025-59136Insertion of Sensitive Information Into Sent Data vulnerabil…5.3
- CVE-2025-59137Cross-Site Request Forgery (CSRF) vulnerability in eleopard …7.1
- CVE-2025-59138Server-Side Request Forgery (SSRF) vulnerability in Jthemes …4.9
- CVE-2025-5914A vulnerability has been identified in the libarchive librar…7.8
- CVE-2025-59140backlash parses collected strings with escapes. On 8 Septemb…8.8
- CVE-2025-59141simple-swizzle swizzles function arguments. On 8 September 2…8.8
- CVE-2025-59142color-string is a parser and generator for CSS color strings…8.8
- CVE-2025-59143color is a Javascript color conversion and manipulation libr…8.8
- CVE-2025-59144debug is a JavaScript debugging utility. On 8 September 2025…8.8
Are you affected by CVE-2025-59139?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
