CVE-2023-28321

curl: An improper certificate validation vulnerability exists in curl <v8.1.0 inthe way it supports matching of wildcard pa...

CVE-2023-28321 is fixed in 15 products on 1 platform, first by curl 7.58.0-2ubuntu3.24+esm1, released May 16, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.9
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0181
78th percentile

An improper certificate validation vulnerability exists in curl <v8.1.0 inthe way it supports matching of wildcard patterns when listed as "SubjectAlternative Name" in TLS server certificates. curl can be built to use itsown name matching function for TLS rather than one provided by a TLSlibrary. This private wildcard matching function would match IDN(International Domain Name) hosts incorrectly and could as a result acceptpatterns that otherwise should mismatch. IDN hostnames are converted topuny code before used for certificate checks. Puny coded names always startwith `xn--` and should not be allowed to pattern match, but the wildcardcheck in curl could still check for `x*`, which would match even though theIDN name most likely contained nothing even resembling an `x`.

Where it's fixed

ProductFixed inFixReleased
Linux
curl · Debian 12.15 (bookworm) 7.88.1-10 DEBIAN-CVE-2023-28321 May 26, 2023
curl · Debian 13.5 (trixie) 7.88.1-10 DEBIAN-CVE-2023-28321 May 26, 2023
curl · Debian 14 7.88.1-10 DEBIAN-CVE-2023-28321 May 26, 2023
curl · RHEL 8 0:7.61.1-30.el8_8.3 RHSA-2023:4523 Aug 8, 2023
curl · RHEL 9 0:7.76.1-23.el9_2.2 RHSA-2023:4354 Aug 1, 2023
curl · Ubuntu 18.04.6 LTS (bionic) 7.58.0-2ubuntu3.24+esm1 curl 7.58.0-2ubuntu3.24+esm1 May 16, 2023
curl · Ubuntu 20.04 LTS (focal) 7.68.0-1ubuntu2.19 curl 7.68.0-1ubuntu2.19 May 16, 2023
curl · Ubuntu 22.04.1 LTS (jammy) 7.81.0-1ubuntu1.11 curl 7.81.0-1ubuntu1.11 May 16, 2023
curl · Ubuntu 24.10 (oracular) 7.88.1-10ubuntu1 curl 7.88.1-10ubuntu1 Jan 16, 2026
curl · Ubuntu 25.04 (plucky) 7.88.1-10ubuntu1 curl 7.88.1-10ubuntu1 Jan 16, 2026
curl · almalinux 8 7.61.1-30.el8_8.3 ALSA-2023:4523 Aug 8, 2023
curl · almalinux 9 7.76.1-23.el9_2.2 ALSA-2023:4354 Aug 1, 2023
curl · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
curl · ol 8 0:7.61.1-30.el8_8.3 ELSA-2023-4523 Aug 10, 2023
curl · ol 9 0:7.76.1-23.el9_2.2 ELSA-2023-4354 Aug 2, 2023
curl · rocky 8 0:7.61.1-30.el8_8.3 RLSA-2023:4523 Oct 6, 2023
curl-debuginfo · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
curl-debugsource · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
curl-minimal · RHEL 9 0:7.76.1-23.el9_2.2 RHSA-2023:4354 Aug 1, 2023
curl-minimal · almalinux 9 7.76.1-23.el9_2.2 ALSA-2023:4354 Aug 1, 2023
curl-minimal · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
curl-minimal · ol 9 0:7.76.1-23.el9_2.2 ELSA-2023-4354 Aug 2, 2023
curl-minimal-debuginfo · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
libcurl · RHEL 8 0:7.61.1-30.el8_8.3 RHSA-2023:4523 Aug 8, 2023
libcurl · RHEL 9 0:7.76.1-23.el9_2.2 RHSA-2023:4354 Aug 1, 2023
libcurl · almalinux 8 7.61.1-30.el8_8.3 ALSA-2023:4523 Aug 8, 2023
libcurl · almalinux 9 7.76.1-23.el9_2.2 ALSA-2023:4354 Aug 1, 2023
libcurl · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
libcurl · ol 8 0:7.61.1-30.el8_8.3 ELSA-2023-4523 Aug 10, 2023
libcurl · ol 9 0:7.76.1-23.el9_2.2 ELSA-2023-4354 Aug 2, 2023
libcurl-debuginfo · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
libcurl-devel · RHEL 8 0:7.61.1-30.el8_8.3 RHSA-2023:4523 Aug 8, 2023
libcurl-devel · RHEL 9 0:7.76.1-23.el9_2.2 RHSA-2023:4354 Aug 1, 2023
libcurl-devel · almalinux 8 7.61.1-30.el8_8.3 ALSA-2023:4523 Aug 8, 2023
libcurl-devel · almalinux 9 7.76.1-23.el9_2.2 ALSA-2023:4354 Aug 1, 2023
libcurl-devel · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
libcurl-devel · ol 8 0:7.61.1-30.el8_8.3 ELSA-2023-4523 Aug 10, 2023
libcurl-devel · ol 9 0:7.76.1-23.el9_2.2 ELSA-2023-4354 Aug 2, 2023
libcurl-minimal · RHEL 8 0:7.61.1-30.el8_8.3 RHSA-2023:4523 Aug 8, 2023
libcurl-minimal · RHEL 9 0:7.76.1-23.el9_2.2 RHSA-2023:4354 Aug 1, 2023
libcurl-minimal · almalinux 8 7.61.1-30.el8_8.3 ALSA-2023:4523 Aug 8, 2023
libcurl-minimal · almalinux 9 7.76.1-23.el9_2.2 ALSA-2023:4354 Aug 1, 2023
libcurl-minimal · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
libcurl-minimal · ol 8 0:7.61.1-30.el8_8.3 ELSA-2023-4523 Aug 10, 2023
libcurl-minimal · ol 9 0:7.76.1-23.el9_2.2 ELSA-2023-4354 Aug 2, 2023
libcurl-minimal-debuginfo · amzn 2023 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270 Jul 19, 2023
libcurl3-gnutls · Ubuntu 18.04.6 LTS (bionic) 7.58.0-2ubuntu3.24+esm1 libcurl3-gnutls 7.58.0-2ubuntu3.24+esm1 May 16, 2023
libcurl3-gnutls · Ubuntu 20.04 LTS (focal) 7.68.0-1ubuntu2.19 libcurl3-gnutls 7.68.0-1ubuntu2.19 May 16, 2023
libcurl3-gnutls · Ubuntu 22.04.1 LTS (jammy) 7.81.0-1ubuntu1.11 libcurl3-gnutls 7.81.0-1ubuntu1.11 May 16, 2023
libcurl3-nss · Ubuntu 18.04.6 LTS (bionic) 7.58.0-2ubuntu3.24+esm1 libcurl3-nss 7.58.0-2ubuntu3.24+esm1 May 16, 2023
libcurl3-nss · Ubuntu 20.04 LTS (focal) 7.68.0-1ubuntu2.19 libcurl3-nss 7.68.0-1ubuntu2.19 May 16, 2023
libcurl3-nss · Ubuntu 22.04.1 LTS (jammy) 7.81.0-1ubuntu1.11 libcurl3-nss 7.81.0-1ubuntu1.11 May 16, 2023
libcurl3t64-gnutls · Ubuntu 24.10 (oracular) 7.88.1-10ubuntu1 libcurl3t64-gnutls 7.88.1-10ubuntu1 Jan 16, 2026
libcurl3t64-gnutls · Ubuntu 25.04 (plucky) 7.88.1-10ubuntu1 libcurl3t64-gnutls 7.88.1-10ubuntu1 Jan 16, 2026
libcurl4 · Ubuntu 18.04.6 LTS (bionic) 7.58.0-2ubuntu3.24+esm1 libcurl4 7.58.0-2ubuntu3.24+esm1 May 16, 2023
libcurl4 · Ubuntu 20.04 LTS (focal) 7.68.0-1ubuntu2.19 libcurl4 7.68.0-1ubuntu2.19 May 16, 2023
libcurl4 · Ubuntu 22.04.1 LTS (jammy) 7.81.0-1ubuntu1.11 libcurl4 7.81.0-1ubuntu1.11 May 16, 2023
libcurl4t64 · Ubuntu 24.10 (oracular) 7.88.1-10ubuntu1 libcurl4t64 7.88.1-10ubuntu1 Jan 16, 2026
libcurl4t64 · Ubuntu 25.04 (plucky) 7.88.1-10ubuntu1 libcurl4t64 7.88.1-10ubuntu1 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.