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

CVE-2024-2466 affects 159 listed versions of Apple macOS in the Dawnsentry catalogue.

6.5CVSS medium
Proof of concept publicexploitation
1%EPSS (next 30 days)
27 March 2024published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apple macOS

159 of 250 listed versions are affected. Fixed in 14.6, 13.6.8, 12.7.6. The newest release, 27.2.1, is not affected.

14.5 14.4.1 14.4 14.3.1 14.3 14.2.1 14.2 14.1.2 14.1.1 14.1 14.0 14 13.6.7 13.6.6 13.6.5 13.6.4 13.6.3 13.6.2 13.6.1 13.6 13.5.2 13.5.1 13.5 13.4.1 13.4 13.3.3 13.3.1 13.3 13.2.1 13.2 13.1 13.0.1 13.0 13 12.7.5 12.7.4 12.7.3 12.7.2 12.7.1 12.7 12.6.9 12.6.8 12.6.7 12.6.6 12.6.5 12.6.4 12.6.3 12.6.2 12.6.1 12.6 12.5.1 12.5 12.4 12.3.1 12.3 12.2.1 12.2 12.1 12.0.1 12.0.0 and 99 more

What it is

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).

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (Curl)

Published by Curl on 27 March 2024. Last changed 15 October 2026.

Sources

Check one version you run: look CVE-2024-2466 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.