CVE-2022-42915

HIGH CVSS 3.1: 8.1 EPSS 3.68%
Updated Oct 14, 2026
NetApp
Parameter Value
CVSS 8.1 (HIGH)
Affected Versions 12.0.0 — 9.0.6
Fixed In 7.86.0
Type CWE-415 (Double Free)
Vendor NetApp
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 18

Configuration From (including) Up to (excluding)
Haxx Curl
cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*
7.77.0 7.86.0
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
— —
Netapp H300s_Firmware
cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
— —
Netapp H300s
cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:*
— —
Netapp H500s_Firmware
cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
— —
Netapp H500s
cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:*
— —
Netapp H700s_Firmware
cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
— —
Netapp H700s
cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:*
— —
Netapp H410s_Firmware
cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
— —
Netapp H410s
cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:*
— —
Netapp Ontap_9
cpe:2.3:a:netapp:ontap_9:-:*:*:*:*:*:*:*
— —
Apple Macos
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
12.0.0 12.6.3
Apple Macos
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
13.0 13.2
Splunk Universal_Forwarder
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
8.2.0 8.2.12
Splunk Universal_Forwarder
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
9.0.0 9.0.6
Splunk Universal_Forwarder
cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*
— —