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.
{
"sources": [
{
"imported": "2026-08-16T08:05:12.435Z",
"published": "2021-06-11T16:15:11.043Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-22898",
"id": "CVE-2021-22898",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22898",
"database_specific": {
"status": "Modified"
},
"modified": "2026-06-17T03:37:58.730Z"
}
],
"license": "CC-BY-4.0"
}