Every CVE Search/ Get API key

CVE-2014-0139

cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for...

5.8 MediumFix available

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

4.22%Up 1.5 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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 MediumAV: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

Affected packages
PackageAffectedFixed
curl
Alpine:v3.10
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.11
before 7.36.0
7.36.0
curl
Alpine:v3.12
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.13
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.14
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.15
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.16
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.17
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.18
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.19
before 7.36.0-r0
7.36.0-r0
Show 21 moreShow less
Affected packages
PackageAffectedFixed
curl
Alpine:v3.20
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.21
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.22
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.23
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.24
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.4
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.5
before 7.36.0-r0
7.36.0-r0
curl
Alpine:v3.6
before 7.36.0
7.36.0
curl
Alpine:v3.7
before 7.36.0
7.36.0
curl
Alpine:v3.8
before 7.36.0
7.36.0
curl
Alpine:v3.9
before 7.36.0-r0
7.36.0-r0
curl
Debian:12
before 7.36.0-1
7.36.0-1
curl
Debian:13
before 7.36.0-1
7.36.0-1
curl
Debian:14
before 7.36.0-1
7.36.0-1
curl
Debian: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 less
7.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
curl
Debian: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
curl
Mageia:3
From an advisory covering 3 CVEs
before 7.28.1-6.4.mga3
7.28.1-6.4.mga3
curl
Mageia:4
From an advisory covering 3 CVEs
before 7.34.0-1.2.mga4
7.34.0-1.2.mga4
lftp
Mageia:4
before 4.4.14-1.1.mga4
4.4.14-1.1.mga4
curl
openSUSE:Tumbleweed
From an advisory covering 32 CVEs
before 7.51.0-1.1
7.51.0-1.1
lftp
openSUSE:Tumbleweed
before 4.7.4-1.1
4.7.4-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 66 moreShow less
MoveEnter Open