# CVE-2024-2466: TLS certificate check bypass with mbedTLS

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.45%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-03-27T07:58:24.520Z
- Modified: 2026-10-25T01:04:35.280Z
- Also known as: CURL-CVE-2024-2466
- Weaknesses: CWE-297
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: curl

## Description

libcurl did not check the server certificate of TLS connections done to a host specified as an IP address, when built to use mbedTLS.  libcurl would wrongly avoid using the set hostname function when the specified hostname was given as an IP address, therefore completely skipping the certificate check. This affects all uses of TLS protocols (HTTPS, FTPS, IMAPS, POPS3, SMTPS, etc).

(As written by CVE List.)

## Affected

- curl curl: from 8.6.0 up to 8.6.0; from 8.5.0 up to 8.5.0
- curl libcurl: from 8.5.0 up to 8.6.0
- https://github.com/curl/curl.git: from 8.5.0 before 8.7.0; from fa714830e92cba7b16b9d3f2cc92a72ee9d821fa before 3d0fd382a29b95561b90b7ea3e7eb04dfdd43538
- haxx curl: from 8.5.0 before 8.7.0
- apple macos: before 12.7.6; from 13.0 before 13.6.8; from 14.0 before 14.6
- netapp h700s_firmware: no versions given
- netapp bootstrap_os: no versions given
- netapp h300s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h500s_firmware: no versions given

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- curl: rating Medium

## References

- <https://hackerone.com/reports/2416725> (exploit, issue-tracking, third-party-advisory)
- <https://www.vicarius.io/vsociety/posts/tls-certificate-check-bypass-curl-with-mbedtls-cve-2024-2466-2468> (exploit, mitigation, third-party-advisory)
- <https://curl.se/docs/CVE-2024-2466.json> (vendor-advisory)
- <https://curl.se/docs/CVE-2024-2466.html> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2024/03/27/4> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240503-0010/> (third-party-advisory)
- <https://support.apple.com/kb/HT214119> (release-notes, vendor-advisory)
- <https://support.apple.com/kb/HT214118> (release-notes, vendor-advisory)
- <https://support.apple.com/kb/HT214120> (release-notes, vendor-advisory)
- <http://seclists.org/fulldisclosure/2024/Jul/20> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2024/Jul/18> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2024/Jul/19> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-417159.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-331112.html>

## Sources

- CVE List: [CVE-2024-2466](https://www.cve.org/CVERecord?id=CVE-2024-2466), CVE Terms of Use, modified 2026-10-15
- curl: [CURL-CVE-2024-2466](https://osv.dev/vulnerability/CURL-CVE-2024-2466), MIT, modified 2026-10-25
- NVD: [CVE-2024-2466](https://nvd.nist.gov/vuln/detail/CVE-2024-2466), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-2466 · Whole record: https://cve.day/CVE-2024-2466.json · Rebuilt by cve.day 2026-11-25T22:58:37.962Z
