CVE-2026-55368h2o: buffer overflow when using the %{error}x log directive
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | dnsdist | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | dnsdist | Fix pending | UBUNTU-CVE-2026-55368 | |
| Ubuntu 24.04 | h2o | Under investigation | UBUNTU-CVE-2026-55368 | |
| Ubuntu 22.04 | h2o | Fix pending | UBUNTU-CVE-2026-55368 | |
| Ubuntu 20.04 | h2o | Fix pending | UBUNTU-CVE-2026-55368 | |
| Ubuntu 18.04 | h2o | Fix pending | UBUNTU-CVE-2026-55368 | |
| Debian 12 | h2o | Fix pending | DEBIAN-CVE-2026-55368 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- h2o: affected: < 48b7ae12107fd2b118e4641da49599e9aac8edd8
References
- https://github.com/h2o/h2o/security/advisories/GHSA-m998-r5ww-rqjf
- https://github.com/h2o/h2o/pull/3757
- https://github.com/h2o/h2o/commit/48b7ae12107fd2b118e4641da49599e9aac8edd8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.