CVE-2021-22925curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl. This rarely used option is used to send…
- 5.3MediumCVSS base score
- 5.4%Exploitation in 30 daysEPSS · top 7.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By hackerone
- 7 months later
· 7 months later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 5.4% · top 7.2% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
https://github.com/curl/curl
- affected curl 7.7 to and including 7.77.0
References
References15
- https://hackerone.com/reports/1223882 (opens in a new tab)x_transferred
- FEDORA-2021-5d21b90a30 (opens in a new tab)vendor-advisoryx_transferred
- 20210921 APPLE-SA-2021-09-20-8 Additional information for APPLE-SA-2021-09-13-4 Security Update 2021-005 Catalina (opens in a new tab)mailing-listx_transferred
- 20210921 APPLE-SA-2021-09-20-7 Additional information for APPLE-SA-2021-09-13-3 macOS Big Sur 11.6 (opens in a new tab)mailing-listx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20210902-0003/ (opens in a new tab)x_transferred
- https://support.apple.com/kb/HT212805 (opens in a new tab)x_transferred
- https://support.apple.com/kb/HT212804 (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf (opens in a new tab)x_transferred
- GLSA-202212-01 (opens in a new tab)vendor-advisoryx_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-484086.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-10054 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-22925)Record last updated .