{"id":"CVE-2026-55368","summary":"h2o: buffer overflow when using the %{error}x log directive","details":"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.","aliases":["GHSA-m998-r5ww-rqjf"],"modified":"2026-11-13T20:46:11.150083041Z","published":"2026-11-04T21:38:04.613Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55368.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55368.json"},{"type":"ADVISORY","url":"https://github.com/h2o/h2o/security/advisories/GHSA-m998-r5ww-rqjf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55368"},{"type":"FIX","url":"https://github.com/h2o/h2o/commit/48b7ae12107fd2b118e4641da49599e9aac8edd8"},{"type":"FIX","url":"https://github.com/h2o/h2o/pull/3757"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/h2o/h2o","events":[{"introduced":"0"},{"fixed":"48b7ae12107fd2b118e4641da49599e9aac8edd8"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"48b7ae12107fd2b118e4641da49599e9aac8edd8"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"48b7ae12107fd2b118e4641da49599e9aac8edd8"}],"source":"REFERENCES_COMMIT"},{"range":[{"introduced":"0"},{"fixed":"48b7ae12107fd2b118e4641da49599e9aac8edd8"}],"source":"DESCRIPTION"}]}}],"versions":["v1.7.0","v1.7.0-beta5","v1.7.0-beta4","v1.7.0-beta3","v1.7.0-beta2","v1.7.0-beta1","v1.6.0","v1.6.0-beta2","v1.6.0-beta1","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.5.0-beta4","v1.5.0-beta3","v1.5.0-beta2","v1.5.0-beta1","v1.4.2","v1.4.1","v1.4.0","v1.3.1","v1.3.0","v1.3.0-beta1","v1.2.0","v1.1.1","v1.1.0","v1.0.1","v0.9.2","v0.9.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-55368.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}