Skip to content

CVE-2026-55368 h2o: buffer overflow when using the %{error}x log directive

HighCVSS 8.1 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

5 packages: 0 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
debian/h2o(Debian 12) = 2.2.5+dfsg2-7; = 2.2.5+dfsg2-8; = 2.2.5+dfsg2-8.1; = 2.2.5+dfsg2-8.1~exp1 +4 more No fix listed No fix yet
ubuntu/dnsdist(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/h2o(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/h2o(Ubuntu 24.04) All versions No fix listed No fix yet
h2o = < 48b7ae12107fd2b118e4641da49599e9aac8edd8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
h2o = < 48b7ae12107fd2b118e4641da49599e9aac8edd8 No fix listed
debian/h2o(Debian:12) All versions No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-10 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-11 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-7 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-8 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-8.1 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-8.1~exp1 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-9 No fix listed
ubuntu/h2o(Ubuntu:22.04) All versions No fix listed
ubuntu/h2o(Ubuntu:24.04) All versions No fix listed
ubuntu/dnsdist(Ubuntu:24.04) All versions No fix listed

References