{"schemaVersion":3,"id":"CVE-2018-1000005","aliases":["ALPINE-CVE-2018-1000005","UBUNTU-CVE-2018-1000005","DEBIAN-CVE-2018-1000005"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-01-24T22:00:00.000Z","modified":"2024-08-05T12:33:49.200Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.4,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true}]},"epss":{"probability":0.04556,"percentile":0.91492,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04556},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03976,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04556,"percentile":0.91492}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03976,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04556,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04556,"percentile":0.91492}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"alpine","product":"curl","name":"curl","label":"curl","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/curl","purlType":"apk","versions":[{"text":"< 7.58.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.58.0-r0","eol":null,"hubHref":null},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"17.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04 | 17.10","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"curl","name":"curl","label":"curl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/curl","purlType":"deb","versions":[{"text":"< 7.58.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.58.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"curl","name":"curl","label":"curl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/curl","purlType":"deb","versions":[{"text":"< 7.47.0-1ubuntu2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.47.0-1ubuntu2.6","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"haxx","product":"libcurl","name":"libcurl","label":"libcurl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.49.0, ≤ 7.57.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.49.0, ≤ 7.57.0","eol":null,"hubHref":"/vendor/haxx/libcurl"}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://www.securitytracker.com/id/1040273","label":"www.securitytracker.com/id/1040273","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3554-1/","label":"usn.ubuntu.com/3554-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4098","label":"www.debian.org/security/2018/dsa-4098","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://curl.haxx.se/docs/adv_2018-824a.html","label":"curl.haxx.se/docs/adv_2018-824a.html","hostname":"curl.haxx.se","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","REPORT"]},{"url":"https://github.com/curl/curl/pull/2231","label":"github.com/curl/curl/pull/2231","hostname":"github.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory","REPORT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1543","label":"access.redhat.com/errata/RHSA-2019:1543","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-1000005","label":"security.alpinelinux.org/vuln/CVE-2018-1000005","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-1000005","label":"ubuntu.com/security/CVE-2018-1000005","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3554-1","label":"ubuntu.com/security/notices/USN-3554-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1000005","label":"www.cve.org/CVERecord?id=CVE-2018-1000005","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1000005","label":"security-tracker.debian.org/tracker/CVE-2018-1000005","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2018-0110","OPENSUSE-SU-2024:10582-1","USN-3554-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10582-1","USN-3554-1"]},"timeline":[{"kind":"published","date":"2018-01-24T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T12:33:49.200Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T17:06:08.726Z","stale":false,"partial":false}}