CVE-2014-8151

CVE-2014-8151 is a medium-severity vulnerability in Haxx Libcurl with a CVSS 2.0 base score of 5.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

The darwinssl_connect_step1 function in lib/vtls/curl_darwinssl.c in libcurl 7.31.0 through 7.39.0, when using the DarwinSSL (aka SecureTransport) back-end for TLS, does not check if a cached TLS session validated the certificate when reusing the session, which allows man-in-the-middle attackers to spoof servers via a crafted certificate.

Frequently asked questions

What is CVE-2014-8151?
The darwinssl_connect_step1 function in lib/vtls/curl_darwinssl.c in libcurl 7.31.0 through 7.39.0, when using the DarwinSSL (aka SecureTransport) back-end for TLS, does not check if a cached TLS session validated the certificate when reusing the session, which allows man-in-the-middle attackers to spoof servers via a crafted certificate.
How severe is CVE-2014-8151?
CVE-2014-8151 has a CVSS 2.0 base score of 5.8, rated medium severity.
Is CVE-2014-8151 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (63rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2014-8151?
CVE-2014-8151 primarily affects Haxx Libcurl. In total, 11 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2014-8151?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2014-8151 published?
CVE-2014-8151 was published on 2015-01-15 and last updated on 2026-06-17.

References

Affected products (11)

More vulnerabilities in Haxx Libcurl

All CVEs affecting Haxx Libcurl →