CVE-2022-42915

Summary

CVECVE-2022-42915
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-10-29 20:15:09 UTC
Updated2026-10-14 19:16:52 UTC
Descriptioncurl 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.

Risk And Classification

Primary CVSS: v3.1 8.1 HIGH from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-415 | n/a | CWE-415 CWE-415 Double Free


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary8.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1ADPDECLARED8.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary8.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Apple Macos All All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Operating System Fedoraproject Fedora 37 All All All
Application Haxx Curl All All All All
Hardware Netapp H300s - All All All
Operating System Netapp H300s Firmware - All All All
Hardware Netapp H410s - All All All
Operating System Netapp H410s Firmware - All All All
Hardware Netapp H500s - All All All
Operating System Netapp H500s Firmware - All All All
Hardware Netapp H700s - All All All
Operating System Netapp H700s Firmware - All All All
Application Netapp Ontap 9 - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
curl - HTTP proxy double-free - CVE-2022-42915 af854a3a-2127-422b-91ae-364da2661108 curl.se Vendor Advisory
curl: Multiple Vulnerabilities (GLSA 202212-01) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
About the security content of macOS Monterey 12.6.3 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
Full Disclosure: APPLE-SA-2023-01-23-4 macOS Ventura 13.2 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
cert-portal.siemens.com/productcert/html/ssa-892048.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
[SECURITY] Fedora 36 Update: curl-7.82.0-9.fc36 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
[SECURITY] Fedora 35 Update: curl-7.79.1-7.fc35 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
About the security content of macOS Ventura 13.2 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
October 2022 cURL/libcURL Vulnerabilities in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
[SECURITY] Fedora 37 Update: curl-7.85.0-2.fc37 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
Full Disclosure: APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
[SECURITY] Fedora 36 Update: curl-7.82.0-9.fc36 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 35 Update: curl-7.79.1-7.fc35 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 37 Update: curl-7.85.0-2.fc37 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 183260 Debian Security Update for curl (CVE-2022-42915)
  • 199008 Ubuntu Security Notification for curl Vulnerabilities (USN-5702-1)
  • 240996 Red Hat Update for JBoss Core Services (RHSA-2022:8840)
  • 283261 Fedora Security Update for curl (FEDORA-2022-01ffde372c)
  • 283302 Fedora Security Update for curl (FEDORA-2022-39688a779d)
  • 283449 Fedora Security Update for curl (FEDORA-2022-e9d65906c4)
  • 354115 Amazon Linux Security Advisory for curl : ALAS2-2022-1882
  • 354289 Amazon Linux Security Advisory for curl : ALAS2022-2022-246
  • 354553 Amazon Linux Security Advisory for curl : ALAS-2022-246
  • 355207 Amazon Linux Security Advisory for curl : ALAS2023-2023-083
  • 377927 Apple macOS Ventura 13.2 Not Installed (HT213605)
  • 377928 Apple macOS Monterey 12.6.3 Not Installed (HT213604)
  • 378101 NetApp Clustered Data Open Network Technology for Appliance Products (ONTAP) Disclosure of Sensitive Information Denial of Service (DoS) Vulnerability (NTAP-20221209-0010)
  • 378599 Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)
  • 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
  • 502573 Alpine Linux Security Update for curl
  • 502575 Alpine Linux Security Update for curl
  • 502717 Alpine Linux Security Update for curl
  • 505613 Alpine Linux Security Update for curl
  • 672494 EulerOS Security Update for curl (EulerOS-SA-2023-1005)
  • 672512 EulerOS Security Update for curl (EulerOS-SA-2023-1030)
  • 691009 Free Berkeley Software Distribution (FreeBSD) Security Update for curl (0f99a30c-7b4b-11ed-9168-080027f5fec9)
  • 710693 Gentoo Linux curl Multiple Vulnerabilities (GLSA 202212-01)
  • 904443 Common Base Linux Mariner (CBL-Mariner) Security Update for curl (11411)
  • 904470 Common Base Linux Mariner (CBL-Mariner) Security Update for curl (11368)
  • 904491 Common Base Linux Mariner (CBL-Mariner) Security Update for curl (11368-1)
  • 904516 Common Base Linux Mariner (CBL-Mariner) Security Update for curl (11411-1)
  • 904866 Common Base Linux Mariner (CBL-Mariner) Security Update for cmake (12312)
  • 904893 Common Base Linux Mariner (CBL-Mariner) Security Update for mysql (12383)
  • 904924 Common Base Linux Mariner (CBL-Mariner) Security Update for rust (12438)
  • 905031 Common Base Linux Mariner (CBL-Mariner) Security Update for cmake (12470)
  • 905037 Common Base Linux Mariner (CBL-Mariner) Security Update for rust (12648)
  • 905105 Common Base Linux Mariner (CBL-Mariner) Security Update for mysql (12572)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report