CVE-2026-137484: Hono 4.12.16 before 4.13.18 Memory Exhaustion via bodyLimit() Middleware
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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Applications using the npm package hono from version 4.12.16 up to, but not including, 4.13.18 are affected when they use the bodyLimit() middleware. The issue can terminate processes running on Bun or Node.js.
What does an attacker need to exploit this?
An attacker does not need authentication or user interaction. They need to send a request body that remains within the configured size limit but is delivered in one-byte chunks, causing a very large number of retained objects.
What is the available remediation?
Upgrade Hono to version 4.13.18 or later. Versions before 4.13.18 in the affected range should be treated as vulnerable when bodyLimit() is used.