CVE-2013-6422
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature...
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature verification (CURLOPT_SSL_VERIFYPEER), also disables the CURLOPT_SSL_VERIFYHOST check for CN or SAN host name fields, which makes it easier for remote attackers to spoof servers and conduct man-in-the-middle (MITM) attacks.
Exploit likelihood
What each source reports
NVD Score used
4.0
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature verification (CURLOPT_SSL_VERIFYPEER), also disables the CURLOPT_SSL_VERIFYHOST check for CN or SAN host name fields, which makes it easier for remote attackers to spoof servers and conduct man-in-the-middle (MITM) attacks.
- Record
CVE-2013-6422- CVSS 2.0
- 4.0 Medium
AV:N/AC:H/Au:N/C:P/I:P/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature verification (CURLOPT_SSL_VERIFYPEER), also disables the CURLOPT_SSL_VERIFYHOST check for CN or SAN host name fields, which makes it easier for remote attackers to spoof servers and conduct man-in-the-middle (MITM) attacks.
- Record
CVE-2013-6422- Updated
- 2026-11-02
EUVDEUVD-2013-6234 No score
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature verification (CURLOPT_SSL_VERIFYPEER), also disables the CURLOPT_SSL_VERIFYHOST check for CN or SAN host name fields, which makes it easier for remote attackers to spoof servers and conduct man-in-the-middle (MITM) attacks.
- Record
EUVD-2013-6234- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fw5f-w62r-p5ww No score
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature...
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature verification (CURLOPT_SSL_VERIFYPEER), also disables the CURLOPT_SSL_VERIFYHOST check for CN or SAN host name fields, which makes it easier for remote attackers to spoof servers and conduct man-in-the-middle (MITM) attacks.
- Record
GHSA-fw5f-w62r-p5ww- Weakness
- CWE-20
- Updated
- 2026-11-02
OSVCURL-CVE-2013-6422 No score
cert name check ignore with GnuTLS
(This issue is almost identical to the one named CVE-2013-4545, but this problem affects a different SSL backend.)
libcurl is vulnerable to a case of missing out the checking of the
certificate CN or SAN name field when the digital signature verification
is turned off.
libcurl offers two separate and independent options for verifying a server's
TLS certificate. CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST. The
first one tells libcurl to verify the trust chain using a CA cert bundle,
while the second tells libcurl to make sure that the name fields in the
server certificate meets the criteria. Both options are enabled by default.
This flaw had the effect that when an application disabled
CURLOPT_SSL_VERIFYPEER, libcurl mistakenly also skipped the
CURLOPT_SSL_VERIFYHOST check. Applications can disable
CURLOPT_SSL_VERIFYPEER and still achieve security by doing the check on
its own using other means.
The curl command line tool is not affected by this problem as it either enables both options or disables both at the same time.
- Record
CURL-CVE-2013-6422- Updated
- 2026-11-02
OSV No score
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature verification (CURLOPT_SSL_VERIFYPEER), also disables the CURLOPT_SSL_VERIFYHOST check for CN or SAN host name fields, which makes it easier for remote attackers to spoof servers and conduct man-in-the-middle (MITM) attacks.
- Record
CVE-2013-6422- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-6422 No score
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature verification (CURLOPT_SSL_VERIFYPEER), also disables the CURLOPT_SSL_VERIFYHOST check for CN or SAN host name fields, which makes it easier for remote attackers to spoof servers and conduct man-in-the-middle (MITM) attacks.
- Record
DEBIAN-CVE-2013-6422- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
curlDebian:12 |
before 7.34.0-1 | 7.34.0-1 |
curlDebian:13 |
before 7.34.0-1 | 7.34.0-1 |
curlDebian:14 |
before 7.34.0-1 | 7.34.0-1 |
curlDebian:7 |
before 7.26.0-1+wheezy7, plus listed versions 7.26.0-1+wheezy27.26.0-1+wheezy37.26.0-1+wheezy47.26.0-1+wheezy57.26.0-1+wheezy6 |
7.26.0-1+wheezy7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| 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-2013-6422 is a medium vulnerability (CVSS 4.0) in Haxx Libcurl, published December 17, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.80%, the 86th percentile. Fixed in curl 7.34.0-1.
References
curl.haxx.se/docs/adv_20131217.html
oracle.com/technetwork/topics/security/cpujul2015-2367936.html
h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322
debian.org/security/2013/dsa-2824
ubuntu.com/usn/USN-2058-1
nvd.nist.gov/vuln/detail/CVE-2013-6422
github.com/advisories/GHSA-fw5f-w62r-p5ww
security-tracker.debian.org/tracker/CVE-2013-6422