CVE-2016-8622

Publication date 2 November 2016

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.

Status

Package Ubuntu Release Status
curl 17.04 zesty
Fixed 7.50.1-1ubuntu2
16.10 yakkety
Fixed 7.50.1-1ubuntu1.1
16.04 LTS xenial
Fixed 7.47.0-1ubuntu2.2
14.04 LTS trusty
Fixed 7.35.0-1ubuntu2.10
12.04 LTS precise
Fixed 7.22.0-3ubuntu4.17

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.8 · Critical

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

References

Related Ubuntu Security Notices (USN)

Other references


Access our resources on patching vulnerabilities