CVE-2021-22925: curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl.
CVE-2021-22925 affects 16 listed versions of Apple macOS, Oracle MySQL 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
10 of 250 listed versions are affected. No fixed release is named. The newest release, 27.2.1, is not affected.
11.5 11.4 11.3.1 11.3 11.2.1 11.2 11.1.0 11.1 11.0.1 11.0
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
curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl. This rarely used option is used to send variable=content pairs toTELNET servers.Due to flaw in the option parser for sending `NEW_ENV` variables, libcurlcould be made to pass on uninitialized data from a stack based buffer to theserver. Therefore potentially revealing sensitive internal information to theserver using a clear-text network protocol.This could happen because curl did not call and use sscanf() correctly whenparsing the string provided by the application.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (NVD)
Published by Hackerone on 5 August 2021. Last changed 14 October 2026.
Sources
Check one version you run: look CVE-2021-22925 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.