# CVE-2021-22925: TELNET stack contents disclosure again

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.37%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-21T08:00:00.000Z
- Modified: 2026-10-25T01:05:30.556Z
- Also known as: CURL-CVE-2021-22925
- Weaknesses: CWE-200, CWE-908
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- https://github.com/curl/curl: curl 7.7 to and including 7.77.0
- https://github.com/curl/curl.git: from 7.7 before 7.78.0; from a1d6ad26100bc493c7b04f1301b1634b7f5aa8b4 before 894f6ec730597eb243618d33cc84d71add8d6a8a
- haxx curl: from 7.7 before 7.78.0
- fedoraproject fedora: 33
- netapp cloud_backup: no versions given
- netapp clustered_data_ontap: no versions given
- netapp hci_management_node: no versions given
- netapp solidfire: no versions given
- apple mac_os_x: 10.15.7
- apple macos: 11.0; 11.0.1; 11.1; 11.1.0; 11.2; 11.2.1; 11.3; 11.3.1; 11.4; 11.5
- oracle mysql_server: from 5.7.0 up to 5.7.35; from 8.0.0 up to 8.0.26
- oracle peoplesoft_enterprise_peopletools: 8.57; 8.58; 8.59
- siemens sinec_infrastructure_network_services: before 1.0.1.1
- siemens sinema_remote_connect_server: before 3.1
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- splunk universal_forwarder: from 8.2.0 before 8.2.12; from 9.0.0 before 9.0.6; 9.1.0

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- curl: rating Medium
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://hackerone.com/reports/1223882> (exploit, issue-tracking, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/> (mailing-list, third-party-advisory, vendor-advisory)
- <http://seclists.org/fulldisclosure/2021/Sep/40> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2021/Sep/39> (mailing-list, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210902-0003/> (third-party-advisory)
- <https://support.apple.com/kb/HT212805> (third-party-advisory)
- <https://support.apple.com/kb/HT212804> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf> (third-party-advisory)
- <https://security.gentoo.org/glsa/202212-01> (third-party-advisory, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-389290.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-484086.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-22925](https://www.cve.org/CVERecord?id=CVE-2021-22925), CVE Terms of Use, modified 2026-10-14
- curl: [CURL-CVE-2021-22925](https://osv.dev/vulnerability/CURL-CVE-2021-22925), MIT, modified 2026-10-25
- NVD: [CVE-2021-22925](https://nvd.nist.gov/vuln/detail/CVE-2021-22925), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-22925 · Whole record: https://cve.day/CVE-2021-22925.json · Rebuilt by cve.day 2026-11-25T22:58:03.028Z
