CVE-2016-8622

CriticalCVSS 9.8/10Last modified Jun 17, 2026

Description

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.

Metrics

CVSS 3.0 9.8/10CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
The Curl Projectcurl7.51.0

References

Timeline

Published
Jul 31, 2018
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2016

CVE-2016-86237.5A flaw was found in curl before version 7.51.0. The way curl handles cookies permits other threads to trigger a use-after-free leading to inCVE-2016-86247.5curl before version 7.51.0 doesn't parse the authority component of the URL correctly when the host name part ends with a '#' character, andCVE-2016-86257.5curl before version 7.51.0 uses outdated IDNA 2003 standard to handle International Domain Names and this may lead users to potentially and CVE-2016-86266.5A flaw was found in Red Hat Ceph before 0.94.9-8. The way Ceph Object Gateway handles POST object requests permits an authenticated attackerCVE-2016-86276.5admin-cli before versions 3.0.0.alpha25, 2.2.1.cr2 is vulnerable to an EAP feature to download server log files that allows logs to be availCVE-2016-86289.1Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to creCVE-2016-86296.5Red Hat Keycloak before version 2.4.0 did not correctly check permissions when handling service account user deletion requests sent to the rCVE-2016-86305.5The x86_decode_insn function in arch/x86/kvm/emulate.c in the Linux kernel before 4.8.7, when KVM is enabled, allows local users to cause a CVE-2016-86317.7The OpenShift Enterprise 3 router does not properly sort routes when processing newly added routes. An attacker with access to create routesCVE-2016-86327.8The tipc_msg_build function in net/tipc/msg.c in the Linux kernel through 4.8.11 does not validate the relationship between the minimum fragCVE-2016-86336.8drivers/firewire/net.c in the Linux kernel before 4.8.7, in certain unusual hardware configurations, allows remote attackers to execute arbiCVE-2016-86345.4A vulnerability was found in foreman 1.14.0. When creating an organization or location in Foreman, if the name contains HTML then the second
CVE-2016-8622: Critical severity, CVSS 9.8 | Vulnix