CVE-2026-55368: h2o: buffer overflow when using the %{error}x log directive
CVE-2026-55368 · HIGH 8.1 h2o: buffer overflow when using the %{error}x log directive
Summary: h2o: buffer overflow when using the %{error}x log directive
EPSS: 0.3% probability of exploitation in the next 30 days (percentile 25.4).
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.
HIGH (CVSS 8.1) — vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2026-55368 · HIGH 8.1 h2o: buffer overflow when using the %{error}x log directive