curl supports the -t command line option, known as CURLOPT_TELNETOPTIONSin 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.
{
"sources": [
{
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-22925",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22925",
"imported": "2026-08-16T08:05:12.517Z",
"published": "2021-08-05T21:15:11.467Z",
"id": "CVE-2021-22925",
"database_specific": {
"status": "Modified"
},
"modified": "2026-06-17T03:38:02.427Z"
}
],
"license": "CC-BY-4.0"
}