{"id":"CVE-2016-8622","published":"2018-07-31T21:00:00Z","modified":"2026-04-15T20:54:57Z","title":"The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`","vendor":"The Curl Project","product":"curl","tier":"tail","description":{"text":"The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0467,"percentile":0.91977,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:3558","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://curl.haxx.se/docs/adv_20161102H.html","tags":["x_refsource_CONFIRM"]},{"url":"https://www.tenable.com/security/tns-2016-21","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1037192","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/94105","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2486","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.gentoo.org/glsa/201701-47","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8622","tags":["x_refsource_CONFIRM"]}],"priority":{"score":21.0,"factors":[{"name":"EPSS percentile","points":18.4},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"the-curl-project","affectedVersions":[{"vendor":"The Curl Project","product":"curl","versions":["7.51.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-15T20:54:47.788034Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The URL percent-encoding decoder curl_easy_unescape in libcurl before 7.51.0 stores the decoded output length in a signed 32-bit integer, so a decode buffer larger than 2GB can have its length truncated or turned negative, leading to heap-based buffer overflow. An attacker who can supply input that gets decoded by this function can cause libcurl to write outside its heap buffer, with the attack conditions limited to network access, low attack complexity, and no privileges or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:35Z"},"euvd":{"id":"EUVD-2016-9467","exploited":false,"provenance":"source"}}