# CVE-2022-42915: HTTP proxy double free

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.68%, higher than 89% of CVEs (2026-12-01)
- Published: 2022-10-26T08:00:00.000Z
- Modified: 2026-10-25T01:05:33.321Z
- Also known as: CURL-CVE-2022-42915
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- https://github.com/curl/curl.git: from 7.77.0 before 7.86.0; from 51c0ebcff2140c38ff389b4fcfb8216f5e9d198c before 55e1875729f9d9fc7315cec611bffbd2c817ad89
- haxx curl: from 7.77.0 before 7.86.0
- fedoraproject fedora: 35; 36; 37
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp ontap_9: no versions given
- apple macos: from 12.0.0 before 12.6.3; from 13.0 before 13.2
- splunk universal_forwarder: from 8.2.0 before 8.2.12; from 9.0.0 before 9.0.6; 9.1.0

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- curl: rating Medium
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://curl.se/docs/CVE-2022-42915.html> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20221209-0010/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202212-01> (third-party-advisory, vendor-advisory)
- <https://support.apple.com/kb/HT213604> (third-party-advisory)
- <https://support.apple.com/kb/HT213605> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Jan/20> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Jan/19> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-892048.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2022-42915](https://www.cve.org/CVERecord?id=CVE-2022-42915), CVE Terms of Use, modified 2026-10-14
- curl: [CURL-CVE-2022-42915](https://osv.dev/vulnerability/CURL-CVE-2022-42915), MIT, modified 2026-10-25
- NVD: [CVE-2022-42915](https://nvd.nist.gov/vuln/detail/CVE-2022-42915), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-42915 · Whole record: https://cve.day/CVE-2022-42915.json · Rebuilt by cve.day 2026-11-25T22:58:16.071Z
