{"id":"CVE-2026-55368","state":"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.","publishedAt":"2026-11-04T21:38:04.613Z","updatedAt":"2026-11-09T16:57:20.944Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["h2o h2o"],"affected":[{"vendor":"h2o","product":"h2o","versions":[{"version":"< 48b7ae12107fd2b118e4641da49599e9aac8edd8","status":"affected"}]}],"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"],"weaknesses":["CWE-787"],"ingestedAt":"2026-11-09T17:06:05.864Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55368.json","commit":"10f592c6e61fd45e286834626eda68a555393fed","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55368","state":"PUBLISHED","datePublished":"2026-11-04T21:38:04.613Z","dateUpdated":"2026-11-09T16:57:20.944Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-16T18:57:40.181Z"},"containers":{"cna":{"title":"h2o: buffer overflow when using the %{error}x log directive","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"h2o","product":"h2o","versions":[{"version":"< 48b7ae12107fd2b118e4641da49599e9aac8edd8","status":"affected"}]}],"references":[{"url":"https://github.com/h2o/h2o/security/advisories/GHSA-m998-r5ww-rqjf","name":"https://github.com/h2o/h2o/security/advisories/GHSA-m998-r5ww-rqjf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/h2o/h2o/pull/3757","name":"https://github.com/h2o/h2o/pull/3757","tags":["x_refsource_MISC"]},{"url":"https://github.com/h2o/h2o/commit/48b7ae12107fd2b118e4641da49599e9aac8edd8","name":"https://github.com/h2o/h2o/commit/48b7ae12107fd2b118e4641da49599e9aac8edd8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-04T21:38:04.613Z"},"source":{"advisory":"GHSA-m998-r5ww-rqjf","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T16:11:50.576532Z","id":"CVE-2026-55368","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T16:57:20.944Z"}}]}}}