Hono 4.12.16 before 4.13.18 Memory Exhaustion via bodyLimit() Middleware
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 26, 2026
Description
Hono from 4.12.16 before 4.13.18 contains a memory exhaustion vulnerability in the bodyLimit() middleware that retains every transfer chunk as a separate array. Unauthenticated attackers can send a within-limit request body in one-byte chunks to create millions of retained objects, terminating Bun or Node.js processes.
| Product | Versions |
|---|---|
| hono honojs | 4.12.16 to before 4.13.18 Affected4.13.18 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- GitHub Security Advisory (GHSA-39q9-qp46-w8xg)Vendor Advisory
- VulnCheck Advisory: Hono 4.12.16 before 4.13.18 Memory Exhaustion via bodyLimit() MiddlewareThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.