cve.bz

CVE-2016-5421 Use After Free

8.1 highEPSS 8.0%Fix available

High (8.1). EPSS 8.0% estimated probability of exploitation activity in the next 30 days.

On this page
Use-after-free vulnerability in libcurl before 7.50.1 allows attackers to control which connection is used or possibly have unspecified other impact via unknown vectors.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
8.0% (unchanged from 8.0% a week ago; 8.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-5421 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-5421?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-5421?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-5421 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
opensuse:leap42.1
haxx:libcurlthrough 7.50.0
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
debian:debian_linux8.0
fedoraproject:fedora23
fedoraproject:fedora24
opensuse:opensuse13.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8curl7.38.0-4+deb8u4DSA-3638-1
Debian12, 13, 14curl7.50.1-1DEBIAN-CVE-2016-5421
Ubuntu14.04:LTScurl7.35.0-1ubuntu2.8UBUNTU-CVE-2016-5421 USN-3048-1
Ubuntu16.04:LTScurl7.47.0-1ubuntu2.1UBUNTU-CVE-2016-5421 USN-3048-1
Red Hatrhel_software_collections:3::el6httpd24-curl, httpd24-libcurl, httpd24-libcurl-devel and 1 more0:7.61.1-1.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-httpd, httpd24-mod_ldap, httpd24-httpd-devel and 4 more0:2.4.34-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-mod_ssl, httpd24-mod_proxy_html1:2.4.34-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-nghttp2, httpd24-libnghttp2, httpd24-libnghttp2-devel and 1 more0:1.7.1-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-curl, httpd24-libcurl, httpd24-libcurl-devel and 1 more0:7.61.1-1.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-httpd, httpd24-mod_md, httpd24-mod_ldap and 5 more0:2.4.34-7.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-mod_ssl, httpd24-mod_proxy_html1:2.4.34-7.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-nghttp2, httpd24-libnghttp2, httpd24-libnghttp2-devel and 1 more0:1.7.1-7.el7RHSA-2018:3558
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 1 morecurl7.37.0-28.1SUSE-SU-2016:2330-1
Alpinev3.2, v3.3curl7.49.1-r1ALPINE-CVE-2016-5421
Alpinev3.4, v3.5, v3.9 and 14 morecurl7.50.1-r0ALPINE-CVE-2016-5421
Alpinev3.6, v3.7, v3.8 and 1 morecurl7.50.1ALPINE-CVE-2016-5421

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The versions of `curl` as shipped with Red Hat Enterprise Linux 5, 6, and 7 are marked as "notaffected" because they did not include the vulnerable code, which was introduced in a later version of the package. Specifically, the struct field affected by this flaw was introduced in `curl` upstream version 7.32.0. The version of `curl` as shipped with Red Hat Enterprise Linux 7 is 7.29.0.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-curl-0:7.61.1-1.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-httpd-0:2.4.34-7.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-nghttp2-0:1.7.1-7.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-httpd-0:2.4.34-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-nghttp2-0:1.7.1-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUShttpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUShttpd24-httpd-0:2.4.34-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUShttpd24-nghttp2-0:1.7.1-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUShttpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUShttpd24-httpd-0:2.4.34-7.el7Fixed 2018-11-13RHSA-2018:3558
.NET Core 1.0 on Red Hat Enterprise Linuxrh-dotnetcore10-curlOut of support scope
.NET Core 1.1 on Red Hat Enterprise Linuxrh-dotnetcore11-curlOut of support scope
.NET Core 2.0 on Red Hat Enterprise Linuxrh-dotnet20-curlOut of support scope
.NET Core 2.1 on Red Hat Enterprise Linuxrh-dotnet21-curlWill not fix
Red Hat Enterprise Linux 5curlNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Enterprise Virtualization 3mingw-virt-viewerWill not fix
Red Hat JBoss Enterprise Web Server 3curlNot affected
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-5421.

References

Check your stackJSON