CVE-2023-28321: An improper certificate validation vulnerability exists in curl <v8.1.0 in the way it supports matching of wildcard patterns when listed…
CVE-2023-28321 affects 64 listed versions of Apple macOS in the Dawnsentry catalogue.
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
64 of 250 listed versions are affected. Fixed in 13.5, 12.6.8, 11.7.9. The newest release, 27.2.1, is not affected.
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.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 12.0 11.7.8 11.7.7 11.7.6 11.7.5 11.7.4 11.7.3 11.7.2 11.7.1 11.7 11.6.8 11.6.7 11.6.6 11.6.5 11.6.4 11.6.3 11.6.2 11.6.1 11.6 11.5.2 11.5.1 11.5 11.4 11.3.1 11.3 11.2.6 11.2.3 11.2.2 11.2.1 11.2.0 11.2 and 4 more
What it is
An improper certificate validation vulnerability exists in curl <v8.1.0 in the way it supports matching of wildcard patterns when listed as "Subject Alternative Name" in TLS server certificates. curl can be built to use its own name matching function for TLS rather than one provided by a TLS library. This private wildcard matching function would match IDN (International Domain Name) hosts incorrectly and could as a result accept patterns that otherwise should mismatch. IDN hostnames are converted to puny code before used for certificate checks. Puny coded names always start with `xn--` and should not be allowed to pattern match, but the wildcard check in curl could still check for `x*`, which would match even though the IDN name most likely contained nothing even resembling an `x`.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N (NVD)
Published by Hackerone on 26 May 2023. Last changed 23 October 2026.
Sources
Check one version you run: look CVE-2023-28321 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.