{"id":"CVE-2026-55368","aliases":["DEBIAN-CVE-2026-55368","EUVD-2026-117178","GHSA-m998-r5ww-rqjf","UBUNTU-CVE-2026-55368"],"status":"published","title":"h2o: buffer overflow when using the %{error}x log directive","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00321,"percentile":0.25395,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2026-11-04T21:38:04Z","modified":"2026-11-06T01:01:07Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"h2o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.5+dfsg2-10","2.2.5+dfsg2-11","2.2.5+dfsg2-7","2.2.5+dfsg2-8","2.2.5+dfsg2-8.1","2.2.5+dfsg2-8.1~exp1","2.2.5+dfsg2-9"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"h2o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.3+dfsg-2","2.2.4+dfsg-1","2.2.4+dfsg-1build1","2.2.4+dfsg-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"h2o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.5+dfsg2-3","2.2.5+dfsg2-3build1","2.2.5+dfsg2-3ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"h2o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.5+dfsg2-6","2.2.5+dfsg2-6.1","2.2.5+dfsg2-6.1ubuntu1","2.2.5+dfsg2-6.1ubuntu2","2.2.5+dfsg2-6.1ubuntu2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"h2o","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.5+dfsg2-7","2.2.5+dfsg2-8","2.2.5+dfsg2-8.1ubuntu1","2.2.5+dfsg2-8.1ubuntu2","2.2.5+dfsg2-8.1ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"dnsdist","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.0-1","1.8.2-1","1.8.2-2","1.8.2-3","1.8.3-1","1.8.3-2","1.8.3-2build1","1.8.3-2build2","1.8.3-2ubuntu0.1~esm1"]}],"products":[{"vendor":"h2o","product":"h2o"}],"references":[{"url":"https://github.com/h2o/h2o/security/advisories/GHSA-m998-r5ww-rqjf","tags":["x_refsource_CONFIRM","advisory","report"]},{"url":"https://github.com/h2o/h2o/pull/3757","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/h2o/h2o/commit/48b7ae12107fd2b118e4641da49599e9aac8edd8","tags":["x_refsource_MISC","fix","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55368.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55368","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-55368","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-55368","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-55368","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-55368","title":"h2o: buffer overflow when using the %{error}x log directive","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.","status":"published","published":"2026-11-04T21:38:04.613Z","modified":"2026-11-09T16:57:20.944Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-787"],"updated_at":"2026-11-09T17:34:05.709049Z"}],"euvd":[{"id":"EUVD-2026-117178","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.","status":"published","published":"2026-11-04T21:38:04Z","modified":"2026-11-09T16:57:20Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-09T18:17:40.212453Z"}],"nvd":[{"id":"CVE-2026-55368","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.","status":"published","published":"2026-11-04T22:18:06.343Z","modified":"2026-11-09T17:17:31.453Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-787"],"updated_at":"2026-11-09T20:15:34.048597Z"}],"osv":[{"id":"CVE-2026-55368","title":"h2o: buffer overflow when using the %{error}x log directive","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.","status":"published","published":"2026-11-04T21:38:04.613Z","modified":"2026-11-11T02:31:04.371693222Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-11T11:06:48.650013Z"},{"id":"DEBIAN-CVE-2026-55368","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.","status":"published","published":"2026-11-04T22:18:06.343Z","modified":"2026-11-10T09:47:39.10465363Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-10T10:26:30.347596Z"},{"id":"UBUNTU-CVE-2026-55368","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.","status":"published","published":"2026-11-05T00:00:00Z","modified":"2026-11-06T01:01:07.465423191Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-06T01:32:53.964075Z"}]}}
