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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 40% of CVEs (2026-11-30)
- Published: 2026-11-04T21:38:04.613Z
- Modified: 2026-11-12T22:18:35.610Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- h2o h2o: < 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>

## Sources

- CVE List: [CVE-2026-55368](https://www.cve.org/CVERecord?id=CVE-2026-55368), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-55368](https://nvd.nist.gov/vuln/detail/CVE-2026-55368), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-55368 · Whole record: https://cve.day/CVE-2026-55368.json · Rebuilt by cve.day 2026-11-25T22:59:49.054Z
