Skip to content
Fencer Vulns
medium 5.3

CVE-2016-8618 json

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` m…

published 2018-07-31 8 y ago modified 2026-06-17 4 mo ago also EUVD-2016-9463

cvss
5.3
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
4.6%
EPSS 4.6% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • haxx curl 7.51.0
  • curl Debian 14, Debian 13, Debian 12 7.51.0-1

debian advisories DEBIAN-CVE-2016-8618

  • curl Ubuntu 14.04 LTS 7.35.0-1ubuntu2.10
  • curl Ubuntu 16.04 LTS 7.47.0-1ubuntu2.2

ubuntu advisories UBUNTU-CVE-2016-8618

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • httpd24-curl RHEL 3 SOFTWARE_COLLECTIONS 7.61.1-1.el6
  • httpd24-curl RHEL 3 SOFTWARE_COLLECTIONS 7.61.1-1.el7
  • httpd24-httpd RHEL 3 SOFTWARE_COLLECTIONS 2.4.34-7.el6
  • httpd24-httpd RHEL 3 SOFTWARE_COLLECTIONS 2.4.34-7.el7
  • httpd24-mod_md RHEL 3 SOFTWARE_COLLECTIONS 2.4.34-7.el7
  • httpd24-libcurl RHEL 3 SOFTWARE_COLLECTIONS 7.61.1-1.el6
  • httpd24-libcurl RHEL 3 SOFTWARE_COLLECTIONS 7.61.1-1.el7
  • httpd24-mod_ssl RHEL 3 SOFTWARE_COLLECTIONS 1:2.4.34-7.el6

red hat advisories RHSA-2018:3558

  • curl SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 7.19.7-1.64.1
  • curl-openssl1 SLES 11-SECURITY 7.19.7-1.64.1
  • curl SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 7.37.0-31.1
  • curl Studio Onsite 1.3 7.19.7-1.20.47.2

suse advisories SUSE-SU-2016:2714-1SUSE-SU-2016:2699-1SUSE-SU-2016:2700-1

  • curl openSUSE Tumbleweed 7.51.0-1.1

opensuse advisories openSUSE-SU-2024:10303-1

  • curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 7.51.0-r0
  • curl Alpine 3.11, Alpine 3.8, Alpine 3.7 +1 more 7.51.0
  • curl Alpine 3.3, Alpine 3.2 7.49.1-r4

alpine advisories ALPINE-CVE-2016-8618

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • lib32-curl Arch Linux 7.51.0-1
  • lib32-libcurl-compat Arch Linux 7.51.0-1
  • lib32-libcurl-gnutls Arch Linux 7.51.0-1

arch linux advisories AVG-61AVG-63AVG-66

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-8618 updated cvss 5.3

curl: Double-free in curl_maprintf

  • Red Hat .NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Red Hat .NET Core 1.1 on Red Hat Enterprise Linux rh-dotnetcore11-curl Red Hat .NET Core 2.0 on Red Hat Enterprise Linux rh-dotnet20-curl
    affected: no fix planned “Out of support scope”
  • Red Hat .NET Core 2.1 on Red Hat Enterprise Linux rh-dotnet21-curl, rh-dotnet21-libcurl Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Virtualization 3 mingw-virt-viewer, mingw32-virt-viewer, mingw64-virt-viewer
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Web Server 3 curl
    affected: no fix available “Fix deferred”
  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2018:2486
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) httpd24-curl 7.61.1-1.el6, httpd24-httpd 2.4.34-7.el6, httpd24-nghttp2 1.7.1-7.el6, httpd24-libcurl 7.61.1-1.el6, httpd24-mod_ssl 2.4.34-7.el6, httpd24-mod_ldap 2.4.34-7.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) httpd24-curl 7.61.1-1.el6, httpd24-httpd 2.4.34-7.el6, httpd24-nghttp2 1.7.1-7.el6, httpd24-libcurl 7.61.1-1.el6, httpd24-mod_ssl 2.4.34-7.el6, httpd24-mod_ldap 2.4.34-7.el6, +5 more
    +1 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more
    fixed: vendor fix RHSA-2018:3558

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.57% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • The Curl Project curl

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.