CVE-2021-22926
libcurl-using applications can ask for a specific client certificate to be used in a transfer....
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
- Record
CVE-2021-22926- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-840, CWE-295
- Updated
- 2026-11-02
CVE List
7.5
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
- Record
CVE-2021-22926- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-840
- Updated
- 2026-11-02
EUVDEUVD-2021-10055
7.5
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
- Record
EUVD-2021-10055- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-5xph-62q2-pxff
7.5
libcurl-using applications can ask for a specific client certificate to be used in a transfer....
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
- Record
GHSA-5xph-62q2-pxff- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-22926
7.5
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
- Record
ALPINE-CVE-2021-22926- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-6364
7.5
CVE-2021-22926 affecting package curl for versions less than 7.82.0-1
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
- Record
AZL-6364- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSV
7.5
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
- Record
CVE-2021-22926- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVJLSEC-2026-1338
7.5
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.
- Record
JLSEC-2026-1338- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
OSVOESA-2021-1321
6.5
curl security update
cURL is a computer software project providing a library (libcurl) and command-line tool (curl) for transferring data using various protocols.
Security Fix(es):
curl supports the -t command line option, known as CURLOPT_TELNETOPTIONSin 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.(CVE-2021-22925)
libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like /tmp), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.(CVE-2021-22926)
- Record
OESA-2021-1321- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVCURL-CVE-2021-22926 No score
CURLOPT_SSLCERT mix-up with Secure Transport
libcurl-using applications can ask for a specific client certificate to be
used in a transfer. This is done with the CURLOPT_SSLCERT option (--cert
with the command line tool).
When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a filename - using the same option. If the name exists as a file, it is used instead of by name.
If the application runs with a current working directory that is writable by
other users (like /tmp), a malicious user can create a filename with the
same name as the app wants to use by name, and thereby trick the application
to use the file based cert instead of the one referred to by name making
libcurl send the wrong client certificate in the TLS connection handshake.
- Record
CURL-CVE-2021-22926- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12116-1 No score
tensorflow-lite-2.9.1-1.1 on GA media
These are all security issues fixed in the tensorflow-lite-2.9.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12116-1- Updated
- 2026-11-02
Affected products
- haxx curl
- netapp active iq unified manager
- netapp clustered data ontap
- netapp h300e firmware
- netapp h300s firmware
- netapp h410s firmware
- netapp h500e firmware
- netapp h500s firmware
- netapp h700e firmware
- netapp h700s firmware
- netapp hci management node
- netapp oncommand insight
Show 10 moreShow less
- netapp oncommand workflow automation
- netapp snapcenter
- netapp solidfire
- oracle mysql server
- oracle peoplesoft enterprise peopletools
- siemens simatic s7-1500 cpu 1518-4 pn/dp mfp
- siemens simatic s7-1500 cpu 1518f-4 pn/dp mfp
- siemens sinec infrastructure network services
- siemens siplus s7-1500 cpu 1518-4 pn/dp mfp
- splunk universal forwarder
Affected packages
| Package | Affected | Fixed |
|---|---|---|
curlAlpine:v3.11 |
7.33.0 up to 7.67.0-r5 | 7.67.0-r5 |
curlAzure Linux:2 |
before 7.82.0-1 | 7.82.0-1 |
LibCURL_jllJulia |
before 7.81.0+0 | 7.81.0+0 |
curlopenEuler:20.03-LTS-SP1 From an advisory covering 2 CVEs |
before 7.71.1-10.oe1 | 7.71.1-10.oe1 |
curlopenEuler:20.03-LTS-SP2 From an advisory covering 2 CVEs |
before 7.71.1-10.oe1 | 7.71.1-10.oe1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-22926 is a high vulnerability (CVSS 7.5) in Haxx Curl, published July 21, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 15.1%, the 96th percentile. Fixed in curl 7.67.0-r5.
References
hackerone.com/reports/1234760
lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E
lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E
lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E
lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E
oracle.com/security-alerts/cpuoct2021.html
Show 179 moreShow less
security.netapp.com/advisory/ntap-20210902-0003
oracle.com/security-alerts/cpujan2022.html
security.netapp.com/advisory/ntap-20211022-0003
cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
security.gentoo.org/glsa/202212-01
cert-portal.siemens.com/productcert/html/ssa-389290.html
cert-portal.siemens.com/productcert/html/ssa-398330.html
nvd.nist.gov/vuln/detail/CVE-2021-22926
lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cdev.kafka.apache.org%3E
lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cusers.kafka.apache.org%3E
lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cdev.kafka.apache.org%3E
lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cusers.kafka.apache.org%3E
github.com/advisories/GHSA-5xph-62q2-pxff
security.alpinelinux.org/vuln/CVE-2021-22926
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1321
nvd.nist.gov/vuln/detail/CVE-2021-22925
suse.com/security/cve/CVE-2020-10531
suse.com/security/cve/CVE-2020-15190
suse.com/security/cve/CVE-2020-15191
suse.com/security/cve/CVE-2020-15194
suse.com/security/cve/CVE-2020-15202
suse.com/security/cve/CVE-2020-15203
suse.com/security/cve/CVE-2020-15204
suse.com/security/cve/CVE-2020-15205
suse.com/security/cve/CVE-2020-15206
suse.com/security/cve/CVE-2020-15207
suse.com/security/cve/CVE-2020-15208
suse.com/security/cve/CVE-2020-15209
suse.com/security/cve/CVE-2020-26266
suse.com/security/cve/CVE-2020-26270
suse.com/security/cve/CVE-2021-22922
suse.com/security/cve/CVE-2021-22923
suse.com/security/cve/CVE-2021-22926
suse.com/security/cve/CVE-2021-37635
suse.com/security/cve/CVE-2021-37636
suse.com/security/cve/CVE-2021-37637
suse.com/security/cve/CVE-2021-37638
suse.com/security/cve/CVE-2021-37639
suse.com/security/cve/CVE-2021-37640
suse.com/security/cve/CVE-2021-37641
suse.com/security/cve/CVE-2021-37642
suse.com/security/cve/CVE-2021-37643
suse.com/security/cve/CVE-2021-37644
suse.com/security/cve/CVE-2021-37645
suse.com/security/cve/CVE-2021-37646
suse.com/security/cve/CVE-2021-37647
suse.com/security/cve/CVE-2021-37648
suse.com/security/cve/CVE-2021-37649
suse.com/security/cve/CVE-2021-37650
suse.com/security/cve/CVE-2021-37651
suse.com/security/cve/CVE-2021-37652
suse.com/security/cve/CVE-2021-37653
suse.com/security/cve/CVE-2021-37654
suse.com/security/cve/CVE-2021-37655
suse.com/security/cve/CVE-2021-37656
suse.com/security/cve/CVE-2021-37657
suse.com/security/cve/CVE-2021-37658
suse.com/security/cve/CVE-2021-37659
suse.com/security/cve/CVE-2021-37660
suse.com/security/cve/CVE-2021-37661
suse.com/security/cve/CVE-2021-37662
suse.com/security/cve/CVE-2021-37663
suse.com/security/cve/CVE-2021-37664
suse.com/security/cve/CVE-2021-37665
suse.com/security/cve/CVE-2021-37666
suse.com/security/cve/CVE-2021-37667
suse.com/security/cve/CVE-2021-37668
suse.com/security/cve/CVE-2021-37669
suse.com/security/cve/CVE-2021-37670
suse.com/security/cve/CVE-2021-37671
suse.com/security/cve/CVE-2021-37672
suse.com/security/cve/CVE-2021-37673
suse.com/security/cve/CVE-2021-37674
suse.com/security/cve/CVE-2021-37675
suse.com/security/cve/CVE-2021-37676
suse.com/security/cve/CVE-2021-37677
suse.com/security/cve/CVE-2021-37678
suse.com/security/cve/CVE-2021-37679
suse.com/security/cve/CVE-2021-37680
suse.com/security/cve/CVE-2021-37681
suse.com/security/cve/CVE-2021-37682
suse.com/security/cve/CVE-2021-37683
suse.com/security/cve/CVE-2021-37684
suse.com/security/cve/CVE-2021-37685
suse.com/security/cve/CVE-2021-37686
suse.com/security/cve/CVE-2021-37687
suse.com/security/cve/CVE-2021-37688
suse.com/security/cve/CVE-2021-37689
suse.com/security/cve/CVE-2021-37690
suse.com/security/cve/CVE-2021-37691
suse.com/security/cve/CVE-2021-37692
suse.com/security/cve/CVE-2021-41195
suse.com/security/cve/CVE-2021-41196
suse.com/security/cve/CVE-2021-41197
suse.com/security/cve/CVE-2021-41198
suse.com/security/cve/CVE-2021-41199
suse.com/security/cve/CVE-2021-41200
suse.com/security/cve/CVE-2021-41201
suse.com/security/cve/CVE-2021-41202
suse.com/security/cve/CVE-2021-41203
suse.com/security/cve/CVE-2021-41204
suse.com/security/cve/CVE-2021-41205
suse.com/security/cve/CVE-2021-41206
suse.com/security/cve/CVE-2021-41207
suse.com/security/cve/CVE-2021-41208
suse.com/security/cve/CVE-2021-41209
suse.com/security/cve/CVE-2021-41210
suse.com/security/cve/CVE-2021-41211
suse.com/security/cve/CVE-2021-41212
suse.com/security/cve/CVE-2021-41213
suse.com/security/cve/CVE-2021-41214
suse.com/security/cve/CVE-2021-41215
suse.com/security/cve/CVE-2021-41216
suse.com/security/cve/CVE-2021-41217
suse.com/security/cve/CVE-2021-41218
suse.com/security/cve/CVE-2021-41219
suse.com/security/cve/CVE-2021-41220
suse.com/security/cve/CVE-2021-41221
suse.com/security/cve/CVE-2021-41222
suse.com/security/cve/CVE-2021-41223
suse.com/security/cve/CVE-2021-41224
suse.com/security/cve/CVE-2021-41225
suse.com/security/cve/CVE-2021-41226
suse.com/security/cve/CVE-2021-41227
suse.com/security/cve/CVE-2021-41228
suse.com/security/cve/CVE-2022-21725
suse.com/security/cve/CVE-2022-21726
suse.com/security/cve/CVE-2022-21727
suse.com/security/cve/CVE-2022-21728
suse.com/security/cve/CVE-2022-21729
suse.com/security/cve/CVE-2022-21730
suse.com/security/cve/CVE-2022-21731
suse.com/security/cve/CVE-2022-21732
suse.com/security/cve/CVE-2022-21733
suse.com/security/cve/CVE-2022-21734
suse.com/security/cve/CVE-2022-21735
suse.com/security/cve/CVE-2022-21736
suse.com/security/cve/CVE-2022-21737
suse.com/security/cve/CVE-2022-21738
suse.com/security/cve/CVE-2022-21739
suse.com/security/cve/CVE-2022-21740
suse.com/security/cve/CVE-2022-21741
suse.com/security/cve/CVE-2022-23557
suse.com/security/cve/CVE-2022-23558
suse.com/security/cve/CVE-2022-23559
suse.com/security/cve/CVE-2022-23560
suse.com/security/cve/CVE-2022-23561
suse.com/security/cve/CVE-2022-23562
suse.com/security/cve/CVE-2022-23563
suse.com/security/cve/CVE-2022-23564
suse.com/security/cve/CVE-2022-23565
suse.com/security/cve/CVE-2022-23566
suse.com/security/cve/CVE-2022-23567
suse.com/security/cve/CVE-2022-23568
suse.com/security/cve/CVE-2022-23569
suse.com/security/cve/CVE-2022-23570
suse.com/security/cve/CVE-2022-23571
suse.com/security/cve/CVE-2022-23572
suse.com/security/cve/CVE-2022-23573
suse.com/security/cve/CVE-2022-23574
suse.com/security/cve/CVE-2022-23575
suse.com/security/cve/CVE-2022-23576
suse.com/security/cve/CVE-2022-23577
suse.com/security/cve/CVE-2022-23578
suse.com/security/cve/CVE-2022-23579
suse.com/security/cve/CVE-2022-23580
suse.com/security/cve/CVE-2022-23581
suse.com/security/cve/CVE-2022-23582
suse.com/security/cve/CVE-2022-23583
suse.com/security/cve/CVE-2022-23584
suse.com/security/cve/CVE-2022-23585
suse.com/security/cve/CVE-2022-23586
suse.com/security/cve/CVE-2022-23587
suse.com/security/cve/CVE-2022-23588
suse.com/security/cve/CVE-2022-23589
suse.com/security/cve/CVE-2022-23590
suse.com/security/cve/CVE-2022-23591
suse.com/security/cve/CVE-2022-23594
suse.com/security/cve/CVE-2022-23595