Skip to content
OpenAdvisories
Medium · 5.3 CVE-2016-8624 EUVD-2016-9469GHSA-6pj7-p5f2-4p6f

curl before version 7.51.0 doesn't parse the authority component of the URL correctly when the host name part ends with a '#' character, an…

Published Jul 31, 2018 · Updated Apr 16, 2026 · Assigned by redhat

Description

curl before version 7.51.0 doesn't parse the authority component of the URL correctly when the host name part ends with a '#' character, and could instead be tricked into connecting to a different host. This may have security implications if you for example use an URL parser that follows the RFC to check for allowed domains before using curl to request them.

Affected products

VendorProductAffectedFixed
The Curl Project curl 7.51.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 7.51.0-1 —
Debian 13 curl 7.51.0-1 —
Debian 12 curl 7.51.0-1 —
Debian 8 curl 7.38.0-4+deb8u5 DSA-3705-1
Debian 7 curl 7.26.0-1+wheezy17 DLA-711-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS curl 7.47.0-1ubuntu2.2 USN-3123-1
Ubuntu 14.04 LTS curl 7.35.0-1ubuntu2.10 USN-3123-1
ReleasePackageFixed inAdvisory
RHEL 3 httpd24-curl +2 7.61.1-1.el6 RHSA-2018:3558
RHEL 3 httpd24-httpd +5 2.4.34-7.el6 RHSA-2018:3558
RHEL 3 httpd24-mod_md 2.4.34-7.el7 RHSA-2018:3558
RHEL 3 httpd24-mod_ssl +1 1:2.4.34-7.el6 RHSA-2018:3558
RHEL 3 httpd24-nghttp2 +2 1.7.1-7.el6 RHSA-2018:3558
ReleasePackageFixed inAdvisory
SLES 12 SP1 curl 7.37.0-31.1 SUSE-SU-2016:2699-1
SLES 11 SP4 curl 7.19.7-1.64.1 SUSE-SU-2016:2714-1
SLES 11 curl-openssl1 7.19.7-1.64.1 SUSE-SU-2016:2714-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Studio Onsite 1.3 curl 7.19.7-1.20.47.2 SUSE-SU-2016:2700-1
SLES for SAP 12 SP1 curl 7.37.0-31.1 SUSE-SU-2016:2699-1
SLES for SAP 11 SP4 curl 7.19.7-1.64.1 SUSE-SU-2016:2714-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 7.51.0-1.1 openSUSE-SU-2024:10303-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 7.51.0-r0 —
Alpine v3.23 curl 7.51.0-r0 —
Alpine v3.22 curl 7.51.0-r0 —
Alpine v3.21 curl 7.51.0-r0 —
Alpine v3.20 curl 7.51.0-r0 —
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 7.51.0-r0 —
Alpine v3.18 curl 7.51.0-r0 —
Alpine v3.17 curl 7.51.0-r0 —
Alpine v3.16 curl 7.51.0-r0 —
Alpine v3.15 curl 7.51.0-r0 —
Alpine v3.14 curl 7.51.0-r0 —
Alpine v3.13 curl 7.51.0-r0 —
Alpine v3.12 curl 7.51.0-r0 —
Alpine v3.11 curl 7.51.0 —
Alpine v3.10 curl 7.51.0-r0 —
Alpine v3.9 curl 7.51.0-r0 —
Alpine v3.8 curl 7.51.0 —
Alpine v3.7 curl 7.51.0 —
Alpine v3.6 curl 7.51.0 —
Alpine v3.5 curl 7.51.0-r0 —
Alpine v3.4 curl 7.51.0-r0 —
Alpine v3.3 curl 7.49.1-r4 —
Alpine v3.2 curl 7.49.1-r4 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 curl +2 7.29.0-51.0.1.el7 ELSA-2019-4652

Advisories 11

References