CVE-2021-22898: curl 7.7 through 7.76.1 suffers from an information disclosure when the `-t` command line option, known as `CURLOPT_TELNETOPTIONS` in lib…

CVE-2021-22898 affects 123 listed versions of Oracle MySQL in the Dawnsentry catalogue.

3.1CVSS low
Proof of concept publicexploitation
5%EPSS (next 30 days)
11 June 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.

Oracle MySQL

123 of 221 listed versions are affected. Fixed in 5.7.34. The newest release, 26.10.0, is not affected.

5.7.33 5.7.32 5.7.31 5.7.30 5.6.51 5.6.50 5.6.49 5.6.48 5.6.47 5.6.46 5.6.45 5.6.44 5.6.43 5.6.42 5.6.41 5.6.40 5.6.39 5.6.38 5.6.37 5.5.63 5.5.62 5.5.61 5.5.60 5.5.59 5.5.58 5.5.57 5.5.56 5.5.55 5.5.54 5.5.53 5.5.52 5.5.51 5.5.50 5.5.49 5.3.13 5.1.73 5.1.72 5.1.71 5.1.70 5.1.69 5.1.68 5.1.67 5.1.66 5.1.65 5.1.64 5.1.63 5.1.62 5.1.61 5.1.60 5.1.59 5.0.96 5.0.94 5.0.93 5.0.92 5.0.91 5.0.90 5.0.89 5.0.88 5.0.87-sp1 5.0.86 and 63 more

What it is

curl 7.7 through 7.76.1 suffers from an information disclosure when the `-t` command line option, known as `CURLOPT_TELNETOPTIONS` in libcurl, is used to send variable=content pairs to TELNET servers. Due to a flaw in the option parser for sending NEW_ENV variables, libcurl could be made to pass on uninitialized data from a stack based buffer to the server, resulting in potentially revealing sensitive internal information to the server using a clear-text network protocol.

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

Published by Hackerone on 11 June 2021. Last changed 14 October 2026.

Sources

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

Updated 2 December 2026.