CVE Vulnerabilities

CVE-2016-8618

Use After Free

Published: Jul 31, 2018 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
4.3 MODERATE
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V3
5.3 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The libcurl API function called curl_maprintf() before version 7.51.0 can be tricked into doing a double-free due to an unsafe size_t multiplication, on systems using 32 bit size_t variables.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
CurlHaxx*7.51.0 (excluding)
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHathttpd24-curl-0:7.61.1-1.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHathttpd24-httpd-0:2.4.34-7.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHathttpd24-nghttp2-0:1.7.1-7.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHathttpd24-curl-0:7.61.1-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHathttpd24-httpd-0:2.4.34-7.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHathttpd24-nghttp2-0:1.7.1-7.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHathttpd24-curl-0:7.61.1-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHathttpd24-httpd-0:2.4.34-7.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHathttpd24-nghttp2-0:1.7.1-7.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHathttpd24-curl-0:7.61.1-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHathttpd24-httpd-0:2.4.34-7.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHathttpd24-nghttp2-0:1.7.1-7.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHathttpd24-curl-0:7.61.1-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHathttpd24-httpd-0:2.4.34-7.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHathttpd24-nghttp2-0:1.7.1-7.el7*
Text-Only JBCSRedHatjbcs-httpd24-curl*
CurlUbuntudevel*
CurlUbuntuesm-infra-legacy/trusty*
CurlUbuntuesm-infra/xenial*
CurlUbuntuprecise*
CurlUbuntutrusty*
CurlUbuntutrusty/esm*
CurlUbuntuupstream*
CurlUbuntuvivid/stable-phone-overlay*
CurlUbuntuvivid/ubuntu-core*
CurlUbuntuxenial*
CurlUbuntuyakkety*
CurlUbuntuzesty*

Potential Mitigations

References