Security mailing lists by PureSourceCode

CVE-2022-42915

HIGH 8.1CVSS 3.1

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
29 Oct 2022
Last modified
14 Oct 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-415
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD haxx curl
cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*
>= 7.77.0, < 7.86.0 7.86.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
NVD netapp h300s_firmware
cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD netapp h500s_firmware
cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD netapp h700s_firmware
cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD netapp h410s_firmware
cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
(no version)
NVD netapp ontap_9
cpe:2.3:a:netapp:ontap_9:-:*:*:*:*:*:*:*
(no version)
NVD apple macos
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
>= 12.0.0, < 12.6.3 12.6.3
NVD apple macos
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
>= 13.0, < 13.2 13.2
NVD splunk universal_forwarder
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
>= 8.2.0, < 8.2.12 8.2.12
NVD splunk universal_forwarder
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
>= 9.0.0, < 9.0.6 9.0.6
NVD splunk universal_forwarder
cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*
= 9.1.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.