CVE-2021-22946: A user can tell curl >= 7.20.0 and <= 7.78.0 to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FTP server (`--ssl-…

CVE-2021-22946 affects 110 listed versions of Apple macOS, Oracle MySQL in the Dawnsentry catalogue.

7.5CVSS high
Proof of concept publicexploitation
5%EPSS (next 30 days)
29 September 2021published

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

104 of 250 listed versions are affected. Fixed in 12.3. The newest release, 27.2.1, is not affected.

12.2.1 12.2 12.1 12.0.1 12.0.0 12.0 11.7.11 11.7.10 11.7.9 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 11.1.0 11.1 11.0.1 11.0 10.15.8 10.15.7-security_update_2022-004 10.15.7 10.15.6 10.15.5 10.15.4 10.15.3 10.15.2 10.15.1 10.15 10.14.6 10.14.5 10.14.4 10.14.3 10.14.2 10.14.1 10.14 and 44 more

Oracle MySQL

6 of 221 listed versions are affected. No fixed release is named. The newest release, 26.10.0, is not affected.

5.7.35 5.7.34 5.7.33 5.7.32 5.7.31 5.7.30

What it is

A user can tell curl >= 7.20.0 and <= 7.78.0 to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FTP server (`--ssl-reqd` on the command line or`CURLOPT_USE_SSL` set to `CURLUSESSL_CONTROL` or `CURLUSESSL_ALL` withlibcurl). This requirement could be bypassed if the server would return a properly crafted but perfectly legitimate response.This flaw would then make curl silently continue its operations **withoutTLS** contrary to the instructions and expectations, exposing possibly sensitive data in clear text over the network.

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

Published by Hackerone on 29 September 2021. Last changed 14 October 2026.

Sources

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

Updated 2 December 2026.