CVE-2022-42915
curl before 7.86.0 has a double free. If curl is told to use an HTTP proxy for a transfer with a non-HTTP(S) URL, it sets up the connection to the remote server by issuing a CONNECT request to the proxy, and then tunnels the rest of the protocol through. An HTTP proxy might refuse this request (HTTP proxies often only allow outgoing connections to specific port numbers, like 443 for HTTPS) and instead return a non-200 status code to the client. Due to flaws in the error/cleanup handling, this could trigger a double free in curl if one of the following schemes were used in the URL for the transfer: dict, gopher, gophers, ldap, ldaps, rtmp, rtmps, or telnet. The earliest affected version is 7.77.0.
Published:Oct 26, 2022
Last Modified:May 7, 2025
EPS:Oct 29, 2022
EPSS Score:0.00576
CVSS Score:8.1
Affected Products
Vendor
Product
Action
Vendor
Apple
Product
Macos
Apple
Macos
Vendor
Fedoraproject
Product
Fedora
Fedoraproject
Fedora
Vendor
Haxx
Product
Curl
Haxx
Curl
Vendor
Netapp
Product
H300s
Netapp
H300s
Vendor
Netapp
Product
H300s Firmware
Netapp
H300s Firmware
Vendor
Netapp
Product
H410s
Netapp
H410s
Vendor
Netapp
Product
H410s Firmware
Netapp
H410s Firmware
Vendor
Netapp
Product
H500s
Netapp
H500s
Vendor
Netapp
Product
H500s Firmware
Netapp
H500s Firmware
Vendor
Netapp
Product
H700s
Netapp
H700s
Vendor
Netapp
Product
H700s Firmware
Netapp
H700s Firmware
Vendor
Netapp
Product
Ontap 9
Netapp
Ontap 9
Vendor
Redhat
Product
Jboss Core Services
Redhat
Jboss Core Services
Vendor
Splunk
Product
Universal Forwarder
Splunk
Universal Forwarder
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
No CAPEC recorded yet
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
