{"id":"CVE-2018-1000005","published":"2018-01-24T22:00:00Z","modified":"2024-08-05T12:33:49Z","title":"libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers","vendor":null,"product":null,"tier":"tail","description":{"text":"libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers. It was reported (https://github.com/curl/curl/pull/2231) that reading an HTTP/2 trailer could mess up future trailers since the stored size was one byte less than required. The problem is that the code that creates HTTP/1-like headers from the HTTP/2 trailer data once appended a string like `:` to the target buffer, while this was recently changed to `: ` (a space was added after the colon) but the following math wasn't updated correspondingly. When accessed, the data is read out of bounds and causes either a crash or that the (too large) data gets passed to client write. This could lead to a denial-of-service situation or an information disclosure if someone has a service that echoes back or uses the trailers for something.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04556,"percentile":0.91809,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securitytracker.com/id/1040273","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://usn.ubuntu.com/3554-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.debian.org/security/2018/dsa-4098","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://curl.haxx.se/docs/adv_2018-824a.html","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/curl/curl/pull/2231","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1543","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":18.36}]},"summary":{"text":"The flaw is an out-of-bounds read in libcurl, versions 7.49.0 through 7.57.0, in the code that converts HTTP/2 trailer data into HTTP/1-style headers, where a buffer size calculation was not updated after a separator change from \":\" to \": \". An attacker who can get a server to send crafted HTTP/2 trailers to a libcurl client can trigger a crash or pass oversized data to the client's write callback, leading to denial of service or information disclosure, the latter if the application echoes back or otherwise uses the trailer contents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:16:47Z"},"euvd":{"id":"EUVD-2018-1777","exploited":false,"provenance":"source"}}