# CVE-2021-22898: TELNET stack contents disclosure

- Severity: Low 3.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/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): 4.51%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-05-26T08:00:00.000Z
- Modified: 2026-10-25T01:05:32.932Z
- Also known as: CURL-CVE-2021-22898
- Weaknesses: CWE-200, CWE-909
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: hackerone

## Description

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.

(As written by CVE List.)

## Affected

- https://github.com/curl/curl: 7.7 through 7.76.1
- https://github.com/curl/curl.git: from 7.7 before 7.77.0; from a1d6ad26100bc493c7b04f1301b1634b7f5aa8b4 before 39ce47f219b09c380b81f89fe54ac586c8db6bde
- haxx curl: from 7.7 up to 7.76.1
- debian debian_linux: 9.0
- fedoraproject fedora: 33; 34
- oracle communications_cloud_native_core_binding_support_function: 1.11.0
- oracle communications_cloud_native_core_network_function_cloud_native_environment: 1.10.0
- oracle communications_cloud_native_core_network_repository_function: 1.15.0; 1.15.1
- oracle communications_cloud_native_core_network_slice_selection_function: 1.8.0
- oracle communications_cloud_native_core_service_communication_proxy: 1.15.0
- oracle essbase: before 11.1.2.4.047; from 21.0 before 21.3
- oracle mysql_server: before 5.7.34; from 8.0.15 before 8.0.25
- siemens sinec_infrastructure_network_services: before 1.0.1.1
- 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 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- curl: rating Medium
- NVD: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 2.6 Low `AV:N/AC:H/Au:N/C:P/I:N/A:N`

## References

- <https://hackerone.com/reports/1176461> (exploit, issue-tracking, patch, third-party-advisory)
- <https://curl.se/docs/CVE-2021-22898.html> (exploit, patch, vendor-advisory)
- <https://github.com/curl/curl/commit/39ce47f219b09c380b81f89fe54ac586c8db6bde> (patch, third-party-advisory)
- <https://lists.apache.org/thread.html/rc713534b10f9daeee2e0990239fa407e2118e4aa9e88a7041177497c%40%3Cissues.guacamole.apache.org%3E> (mailing-list, third-party-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/07/21/4> (mailing-list, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/POOC3UV7V6L4CJ5KA2PTWTNUV5Y72T3Q/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/08/msg00017.html> (mailing-list, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5197> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

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

---

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