CVE-2026-55368 PUBLISHED

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

Assigner: GitHub_M
Reserved: 16.06.2026 Published: 04.11.2026 Updated: 04.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.1

Product Status

Vendor h2o
Product h2o
Versions
  • Version < 48b7ae12107fd2b118e4641da49599e9aac8edd8 is affected

References

Problem Types

  • CWE-787: Out-of-bounds Write CWE