Skip to content
OpenAdvisories
High · 7.5 CVE-2026-44453 EUVD-2026-45074

h2o is vulnerable to musl libc stack overflow

Published Jul 16, 2026 · Updated Jul 17, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
h2o h2o < 6b5370d —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 h2o No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS h2o No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS dnsdist No fix yet —
Ubuntu Pro 22.04 LTS h2o No fix yet —
Ubuntu Pro 20.04 LTS h2o No fix yet —
Ubuntu Pro 18.04 LTS h2o No fix yet —

References