Description
h2o is an HTTP server with support for HTTP/1.x, HTTP/2 and HTTP/3. Prior to commit 6b5370d, h2o is vulnerable to a Denial of Service attack when calling alloca under certain conditions. When serving static files, h2o builds the file path on stack, by calling alloca. The maximum size of the memory allocated using alloca can be as huge as ~600KB, which exceeds the default pthread stack size used by musl libc (128KB). If the amount of memory allocated by alloca exceeds the stack size, the h2o server crashes with a segmentation fault, while it tries to touch the guard page. This issue has been fixed by commit 6b5370d.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/h2o/h2o/security/advisories/GHSA-rf9v-m59p-mq84
X_Refsource_Misc x_refsource_misc
https://github.com/h2o/h2o/commit/6b5370d9d09fcf83aa7620ddf77de1954a192181
Scores
CVSS v3
7.5
EPSS
0.0028
EPSS Percentile
20.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-770
CWE-789
Status
published
Products (1)
h2o/h2o
< 6b5370d
Published
Jul 16, 2026
Tracked Since
Jul 17, 2026