
CVE catalog
CVE-2021-22925
curl: CVE-2021-22925
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 5.37% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | curl | sid | 8.23.0-1 | not affected |
| Debian | curl | forky | 8.22.0-1 | not affected |
| Debian | curl | trixie | 8.14.1-2+deb13u5 | not affected |
| Debian | curl | trixie-security | 8.14.1-2+deb13u7 | not affected |
| Debian | curl | bookworm | 7.88.1-10+deb12u15 | not affected |
| Debian | curl | bookworm-security | 7.88.1-10+deb12u5 | not affected |
| Cpe | curl | Not reported | 7.78.0 | fixed |
| Cpe | fedora | Not reported | Not reported | unknown |
| Cpe | cloud_backup | Not reported | Not reported | unknown |
| Cpe | clustered_data_ontap | Not reported | Not reported | unknown |
| Cpe | hci_management_node | Not reported | Not reported | unknown |
| Cpe | solidfire | Not reported | Not reported | unknown |
| Cpe | mac_os_x | Not reported | Not reported | unknown |
| Cpe | macos | Not reported | Not reported | unknown |
| Alpine | curl | 3.11 | 7.67.0-r5 | fixed |
| Alpine | curl | 3.12 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.13 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.14 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.15 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.16 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.17 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.18 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.19 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.20 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.21 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.22 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.23 | 7.78.0-r0 | fixed |
| Alpine | curl | 3.24 | 7.78.0-r0 | fixed |
| Ubuntu | curl | pro | 7.43.0-1ubuntu2 | vulnerable |
| Ubuntu | curl | pro | 7.45.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | pro | 7.46.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.1 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.2 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.3 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.4 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.5 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.6 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.7 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.8 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.9 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.11 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.12 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.13 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.14 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.15 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.16 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.18 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.19 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.19+esm1 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.19+esm2 | vulnerable |
| Ubuntu | curl | pro | 7.47.0-1ubuntu2.19+esm3 | fixed |
| Ubuntu | curl | 18.04 | 7.55.1-1ubuntu2 | vulnerable |
| Ubuntu | curl | 18.04 | 7.55.1-1ubuntu2.1 | vulnerable |
| Ubuntu | curl | 18.04 | 7.57.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu1 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu2 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.1 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.2 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.3 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.5 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.6 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.7 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.8 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.9 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.10 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.12 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.13 | vulnerable |
| Ubuntu | curl | 18.04 | 7.58.0-2ubuntu3.14 | fixed |
| Ubuntu | curl | 20.04 | 7.65.3-1ubuntu3 | vulnerable |
| Ubuntu | curl | 20.04 | 7.65.3-1ubuntu4 | vulnerable |
| Ubuntu | curl | 20.04 | 7.66.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | 20.04 | 7.67.0-2ubuntu1 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.1 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.2 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.4 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.5 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.6 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | curl | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | curl | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | curl | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | curl | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Cpe | curl | cpe | Not reported | 7.78.0 | Not reported | NVD-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.11 | 7.67.0-r5 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.12 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.13 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.14 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.15 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.16 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.17 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.18 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.19 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.20 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.21 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.22 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.23 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Alpine | curl | apk | 3.24 | 7.78.0-r0 | Not reported | ALPINE-CVE-2021-22925 | Not reported |
| Ubuntu | curl | deb | pro | 7.47.0-1ubuntu2.19+esm3 | Not reported | UBUNTU-CVE-2021-22925 | Not reported |
| Ubuntu | curl | deb | 18.04 | 7.58.0-2ubuntu3.14 | Not reported | UBUNTU-CVE-2021-22925 | Not reported |
| Ubuntu | curl | deb | 20.04 | 7.68.0-1ubuntu2.6 | Not reported | UBUNTU-CVE-2021-22925 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [curl]Unknown
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl3-gnutls]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl3-nss]Unknown
Source package: [curl]
Details (4)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4-doc]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· all · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· all · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· all · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· all · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· all · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· all · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4-gnutls-dev]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4-nss-dev]Unknown
Source package: [curl]
Details (4)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
- [libcurl4-openssl-dev]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityNot affected
dsa · curl · debian · bookworm
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-484086.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_4511.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-22925]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-22925]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-22925]
- [https://security-tracker.debian.org/tracker/CVE-2021-22925]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-22925.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1350.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]