Skip to content
OpenAdvisories
High · 8.1 CVE-2026-55368 EUVD-2026-117178

h2o: buffer overflow when using the %{error}x log directive

Published Nov 4, 2026 · Updated Nov 9, 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 48b7ae12107fd2b118e4641da49599e9aac8edd8, H2O's access-log formatter could write past its log-line buffer when an affected custom access-log format was configured. The allocation errors affected %{error}x, %q when the query string was empty, and numeric elements whose temporary terminating NUL reached the end of the buffer. A matching request could crash the server, while the effect of the one-byte NUL overwrite beyond a crash was not established. This vulnerability is fixed with commit 48b7ae12107fd2b118e4641da49599e9aac8edd8.

Affected products

VendorProductAffectedFixed
h2o h2o < 48b7ae12107fd2b118e4641da49599e9aac8edd8 —

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