CVE-2014-0139
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for...
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for TLS, recognize a wildcard IP address in the subject's Common Name (CN) field of an X.509 certificate, which might allow man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
Exploit likelihood
What each source reports
NVD Score used
5.8
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for TLS, recognize a wildcard IP address in the subject's Common Name (CN) field of an X.509 certificate, which might allow man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
- Record
CVE-2014-0139- CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-310
- Updated
- 2026-11-02
CVE List No score
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for TLS, recognize a wildcard IP address in the subject's Common Name (CN) field of an X.509 certificate, which might allow man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
- Record
CVE-2014-0139- Updated
- 2026-11-02
EUVDEUVD-2014-0198 No score
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for TLS, recognize a wildcard IP address in the subject's Common Name (CN) field of an X.509 certificate, which might allow man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
- Record
EUVD-2014-0198- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vwm2-85hg-5h4q No score
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for...
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for TLS, recognize a wildcard IP address in the subject's Common Name (CN) field of an X.509 certificate, which might allow man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
- Record
GHSA-vwm2-85hg-5h4q- Updated
- 2026-11-02
OSVBELL-CVE-2014-0139
5.8
CVE-2014-0139 does not affect BellSoft software
- Record
BELL-CVE-2014-0139- CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Updated
- 2026-11-02
OSVALPINE-CVE-2014-0139 No score
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for TLS, recognize a wildcard IP address in the subject's Common Name (CN) field of an X.509 certificate, which might allow man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
- Record
ALPINE-CVE-2014-0139- Updated
- 2026-11-02
Show 8 moreShow less
OSVCURL-CVE-2014-0139 No score
IP address wildcard certificate validation
libcurl incorrectly validates wildcard SSL certificates containing literal IP addresses.
RFC 2818 covers the requirements for matching Common Names (CNs) and subjectAltNames in order to establish valid SSL connections. It first discusses CNs that are for hostnames, and the rules for wildcards in this case. The next paragraph in the RFC then discusses CNs that are IP addresses:
'In some cases, the URI is specified as an IP address rather than a
hostname. In this case, the iPAddress subjectAltName must be present in the
certificate and must exactly match the IP in the URI.'
The intention of the RFC is clear in that you should not be able to use wildcards with IP addresses (in order to avoid the ability to perform man-in-the-middle attacks). Unfortunately libcurl fails to adhere to this rule under certain conditions, and subsequently it would allow and use a wildcard match specified in the CN field.
Exploiting this flaw, a malicious server could participate in a MITM attack or easier fool users that it is a legitimate site for whatever purpose, when it actually is not.
A good CA should refuse to issue a certificate with the CN as indicated, however there only need be one CA to issue one in error for this issue to result in the user getting no warning at all and being vulnerable to MITM.
This flaw is only present in libcurl when built to use one out of a few specific TLS libraries: OpenSSL, axTLS, qsossl or gskit.
This problem is similar to one previously reported by Richard Moore, found in multiple browsers.
- Record
CURL-CVE-2014-0139- Updated
- 2026-11-02
OSV No score
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for TLS, recognize a wildcard IP address in the subject's Common Name (CN) field of an X.509 certificate, which might allow man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
- Record
CVE-2014-0139- Updated
- 2026-11-02
OSVDEBIAN-CVE-2014-0139 No score
cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for TLS, recognize a wildcard IP address in the subject's Common Name (CN) field of an X.509 certificate, which might allow man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
- Record
DEBIAN-CVE-2014-0139- Updated
- 2026-11-02
OSVMGASA-2014-0153 No score
Updated curl packages fix multiple vulnerabilities
Updated curl packages fix security vulnerabilities:
Paras Sethia discovered that libcurl would sometimes mix up multiple HTTP and HTTPS connections with NTLM authentication to the same server, sending requests for one user over the connection authenticated as a different user (CVE-2014-0015).
libcurl can in some circumstances re-use the wrong connection when asked to do transfers using other protocols than HTTP and FTP, causing a transfer that was initiated by an application to wrongfully re-use an existing connection to the same server that was authenticated using different credentials (CVE-2014-0138).
libcurl incorrectly validates wildcard SSL certificates containing literal IP addresses, so under certain conditions, it would allow and use a wildcard match specified in the CN field, allowing a malicious server to participate in a MITM attack or just fool users into believing that it is a legitimate site (CVE-2014-0139).
- Record
MGASA-2014-0153- Updated
- 2026-11-02
OSVMGASA-2015-0165 No score
Updated lftp packages fix CVE-2014-0139
Updated lftp packages fix security vulnerability:
lftp incorrectly validates wildcard SSL certificates containing literal IP addresses, so under certain conditions, it would allow and use a wildcard match specified in the CN field, allowing a malicious server to participate in a MITM attack or just fool users into believing that it is a legitimate site (CVE-2014-0139).
lftp was affected by this issue as it uses code from cURL for checking SSL certificates. The curl package was fixed in MGASA-2014-0153.
- Record
MGASA-2015-0165- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10303-1 No score
curl-7.51.0-1.1 on GA media
These are all security issues fixed in the curl-7.51.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10303-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10380-1 No score
lftp-4.7.4-1.1 on GA media
These are all security issues fixed in the lftp-4.7.4-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10380-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:0962-1 No score
Security update for curl
This curl update fixes the following security issues:
* bnc#868627: wrong re-use of connections (CVE-2014-0138).
* bnc#868629: IP address wildcard certificate validation
(CVE-2014-0139).
* bnc#870444: --insecure option inappropriately enforcing security
safeguard.
Security Issue references:
* CVE-2014-0138
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0138>
* CVE-2014-0139
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0139>
- Record
SUSE-SU-2015:0962-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
curlAlpine:v3.10 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.11 |
before 7.36.0 | 7.36.0 |
curlAlpine:v3.12 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.13 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.14 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.15 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.16 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.17 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.18 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.19 |
before 7.36.0-r0 | 7.36.0-r0 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
curlAlpine:v3.20 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.21 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.22 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.23 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.24 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.4 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.5 |
before 7.36.0-r0 | 7.36.0-r0 |
curlAlpine:v3.6 |
before 7.36.0 | 7.36.0 |
curlAlpine:v3.7 |
before 7.36.0 | 7.36.0 |
curlAlpine:v3.8 |
before 7.36.0 | 7.36.0 |
curlAlpine:v3.9 |
before 7.36.0-r0 | 7.36.0-r0 |
curlDebian:12 |
before 7.36.0-1 | 7.36.0-1 |
curlDebian:13 |
before 7.36.0-1 | 7.36.0-1 |
curlDebian:14 |
before 7.36.0-1 | 7.36.0-1 |
curlDebian:6.0 From an advisory covering 2 CVEs |
before 7.21.0-2.1+squeeze8, plus listed versions 7.21.0-17.21.0-27.21.0-2.1+squeeze17.21.0-2.1+squeeze27.21.0-2.1+squeeze3 Show 4 moreShow less7.21.0-2.1+squeeze47.21.0-2.1+squeeze57.21.0-2.1+squeeze67.21.0-2.1+squeeze7 |
7.21.0-2.1+squeeze8 |
curlDebian:7 From an advisory covering 2 CVEs |
before 7.26.0-1+wheezy9, plus listed versions 7.26.0-1+wheezy27.26.0-1+wheezy37.26.0-1+wheezy47.26.0-1+wheezy57.26.0-1+wheezy67.26.0-1+wheezy77.26.0-1+wheezy8 |
7.26.0-1+wheezy9 |
curlMageia:3 From an advisory covering 3 CVEs |
before 7.28.1-6.4.mga3 | 7.28.1-6.4.mga3 |
curlMageia:4 From an advisory covering 3 CVEs |
before 7.34.0-1.2.mga4 | 7.34.0-1.2.mga4 |
lftpMageia:4 |
before 4.4.14-1.1.mga4 | 4.4.14-1.1.mga4 |
curlopenSUSE:Tumbleweed From an advisory covering 32 CVEs |
before 7.51.0-1.1 | 7.51.0-1.1 |
lftpopenSUSE:Tumbleweed |
before 4.7.4-1.1 | 4.7.4-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-0139 is a medium vulnerability (CVSS 5.8) in Haxx Curl, published March 26, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.22%, the 91st percentile. Fixed in curl 7.36.0-r0.
References
www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5095862
oracle.com/technetwork/topics/security/cpujul2015-2367936.html
mandriva.com/security/advisories?name=MDVSA-2015:213
secunia.com/advisories/57836
curl.haxx.se/docs/adv_20140326B.html
debian.org/security/2014/dsa-2902
Show 66 moreShow less
getchef.com/blog/2014/04/09/chef-server-11-0-12-release
secunia.com/advisories/59458
lists.opensuse.org/opensuse-updates/2014-04/msg00042.html
advisories.mageia.org/MGASA-2015-0165.html
secunia.com/advisories/58615
secunia.com/advisories/57968
www-01.ibm.com/support/docview.wss?uid=swg21675820
ubuntu.com/usn/USN-2167-1
getchef.com/blog/2014/04/09/enterprise-chef-11-1-3-release
getchef.com/blog/2014/04/09/enterprise-chef-1-4-9-release
secunia.com/advisories/57966
nvd.nist.gov/vuln/detail/CVE-2014-0139
github.com/advisories/GHSA-vwm2-85hg-5h4q
security.alpinelinux.org/vuln/CVE-2014-0139
docs.bell-sw.com/security/cves/CVE-2014-0139
security-tracker.debian.org/tracker/CVE-2014-0139
advisories.mageia.org/MGASA-2014-0153.html
curl.haxx.se/docs/adv_20140129.html
curl.haxx.se/docs/adv_20140326A.html
debian.org/security/2014/dsa-2849
bugs.mageia.org/show_bug.cgi?id=12476
bugs.mageia.org/show_bug.cgi?id=15716
lftp.yar.ru/news.html
suse.com/support/update/announcement/2015/suse-su-20150962-1
bugzilla.suse.com/824517
bugzilla.suse.com/849596
bugzilla.suse.com/858673
bugzilla.suse.com/868627
bugzilla.suse.com/868629
bugzilla.suse.com/870444
bugzilla.suse.com/927174
bugzilla.suse.com/927556
bugzilla.suse.com/927746
bugzilla.suse.com/928533
suse.com/security/cve/CVE-2013-2174
suse.com/security/cve/CVE-2013-4545
suse.com/security/cve/CVE-2014-0015
suse.com/security/cve/CVE-2014-0138
suse.com/security/cve/CVE-2014-0139
suse.com/security/cve/CVE-2015-3143
suse.com/security/cve/CVE-2015-3148
suse.com/security/cve/CVE-2015-3153
suse.com/security/cve/CVE-2009-0037
suse.com/security/cve/CVE-2009-2417
suse.com/security/cve/CVE-2013-0249
suse.com/security/cve/CVE-2013-1944
suse.com/security/cve/CVE-2014-3613
suse.com/security/cve/CVE-2014-3620
suse.com/security/cve/CVE-2014-8150
suse.com/security/cve/CVE-2015-3144
suse.com/security/cve/CVE-2015-3145
suse.com/security/cve/CVE-2015-3236
suse.com/security/cve/CVE-2015-3237
suse.com/security/cve/CVE-2016-0755
suse.com/security/cve/CVE-2016-7167
suse.com/security/cve/CVE-2016-8615
suse.com/security/cve/CVE-2016-8616
suse.com/security/cve/CVE-2016-8617
suse.com/security/cve/CVE-2016-8618
suse.com/security/cve/CVE-2016-8619
suse.com/security/cve/CVE-2016-8620
suse.com/security/cve/CVE-2016-8621
suse.com/security/cve/CVE-2016-8622
suse.com/security/cve/CVE-2016-8623
suse.com/security/cve/CVE-2016-8624
suse.com/security/cve/CVE-2016-8625