{"id":"CVE-2021-22925","published":"2021-08-05T00:00:00Z","modified":"2026-10-14T11:08:19Z","title":"curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.05367,"percentile":0.9284,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://hackerone.com/reports/1223882","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/","tags":["vendor-advisory"]},{"url":"http://seclists.org/fulldisclosure/2021/Sep/40","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2021/Sep/39","tags":["mailing-list"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20210902-0003/","tags":[]},{"url":"https://support.apple.com/kb/HT212805","tags":[]},{"url":"https://support.apple.com/kb/HT212804","tags":[]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf","tags":[]},{"url":"https://security.gentoo.org/glsa/202212-01","tags":["vendor-advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-389290.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-484086.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":22.3,"factors":[{"name":"EPSS percentile","points":18.57},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":["curl 7.7 to and including 7.77.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-16T16:36:17.820310Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is in curl's option parser for TELNET NEW_ENV variables, which is reached through the -t command-line option (CURLOPT_TELNETOPTIONS in libcurl). An attacker can cause curl to pass uninitialized data from a stack-based buffer to a TELNET server, exposing sensitive internal information over a clear-text protocol.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:22Z"},"euvd":{"id":"EUVD-2021-10054","exploited":false,"provenance":"source"}}