CVE-2022-42915 in Apple Macos and 12 more products
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.
Affects 13 products from 6 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Macos | ≥ 12.0.0, < 12.6.3 ≥ 13.0, < 13.2 |
| Fedoraproject | Fedora | 35 36 37 |
| Haxx | Curl | ≥ 7.77.0, < 7.86.0 |
| Netapp | H500S (device and firmware) | No version listed by the source |
| Netapp | H300S (device and firmware) | No version listed by the source |
| Netapp | H410S (device and firmware) | No version listed by the source |
| Netapp | Ontap 9 | No version listed by the source |
| Netapp | H700S (device and firmware) | No version listed by the source |
| Siemens | — | — |
| Splunk | Universal Forwarder | 9.1.0 ≥ 8.2.0, < 8.2.12 ≥ 9.0.0, < 9.0.6 |
| Phoenixcontact | Axc F 1152 Firmware | < 2023.0.0 |
| Phoenixcontact | Axc F 2152 Firmware | < 2023.0.0 |
| Phoenixcontact | Axc F 3152 Firmware | < 2023.0.0 |
| Phoenixcontact | Bpc 9102S Firmware | < 2023.0.0 |
| Phoenixcontact | Rfc 4072R Firmware | < 2023.0.0 |
| Phoenixcontact | Rfc 4072S Firmware | < 2023.0.0 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Sinec-Nms | < 1.0.3.1 |
| Siemens | Sinec Nms | < 1.0.3.1 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- SINEC NMS: Update to V1.0.3.1 or later version
Source: ICSA-23-131-05
- SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more: Update to V3.1.5 or later version
Source: ICSA-23-348-10
- Update to the latest 2023.0.0 LTS Firmware Release. PHOENIX CONTACT recommends to always use an up-to-date version of the PLCnext Engineer.
Source: VDE-2023-001
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2022-42915 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-334528-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-10-29 |
| Last modified | 2026-10-14 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Ensure that only necessary protocols and ports are allowed through the HTTP proxy, and monitor for unusual CONNECT requests to non-HTTP(S) URLs.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.