{"schemaVersion":3,"id":"CVE-2022-42915","aliases":["ALPINE-CVE-2022-42915","UBUNTU-CVE-2022-42915","DEBIAN-CVE-2022-42915"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-10-29T00:00:00.000Z","modified":"2026-10-14T18:26:42.790Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02926,"percentile":0.86849,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-0.20999999999999977,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03136},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02926,"percentile":0.86849}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03136,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02926,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02926,"percentile":0.86849}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-415","name":"Double Free","description":"The product calls free() twice on the same memory address.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/415.html"}],"affected":[{"vendor":"alpine","product":"curl","name":"curl","label":"curl","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/curl","purlType":"apk","versions":[{"text":"≥ 7.77.0, < 7.80.0-r4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.77.0, < 7.83.1-r4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.77.0, < 7.86.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.77.0, < 7.80.0-r4 | ≥ 7.77.0, < 7.83.1-r4 | ≥ 7.77.0, < 7.86.0-r0","eol":null,"hubHref":null},{"vendor":"apple","product":"macos","name":"macos","label":"macos","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ 12.0.0, < 12.6.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 13.0, < 13.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 12.0.0, < 12.6.3 | ≥ 13.0, < 13.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"macos","label":"Apple macOS","category":"os"}},"hubHref":"/vendor/apple/macos"},{"vendor":"debian","product":"curl","name":"curl","label":"curl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/curl","purlType":"deb","versions":[{"text":"< 7.86.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.86.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"curl","name":"curl","label":"curl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/curl","purlType":"deb","versions":[{"text":"< 7.81.0-1ubuntu1.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.81.0-1ubuntu1.6","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null},{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"35 | 36 | 37","eol":{"isEol":true,"eolDate":"2022-12-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"35","label":"35","eolFrom":"2022-12-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"haxx","product":"curl","name":"curl","label":"curl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.77.0, < 7.86.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.77.0, < 7.86.0","eol":null,"hubHref":"/vendor/haxx/curl"},{"vendor":"netapp","product":"h300s_firmware","name":"h300s firmware","label":"h300s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h300s"},{"vendor":"netapp","product":"h410s_firmware","name":"h410s firmware","label":"h410s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h410s"},{"vendor":"netapp","product":"h500s_firmware","name":"h500s firmware","label":"h500s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h500s"},{"vendor":"netapp","product":"h700s_firmware","name":"h700s firmware","label":"h700s_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/h700s"},{"vendor":"netapp","product":"ontap_9","name":"ontap 9","label":"ontap_9","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/ontap_9"},{"vendor":"splunk","product":"universal_forwarder","name":"universal forwarder","label":"universal_forwarder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.2.0, < 8.2.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.0.6","noFixRecorded":false,"fixedIn":null},{"text":"9.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.2.0, < 8.2.12 | ≥ 9.0.0, < 9.0.6 | 9.1.0","eol":null,"hubHref":"/vendor/splunk/universal_forwarder"}],"affectedCount":12,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://curl.se/docs/CVE-2022-42915.html","label":"curl.se/docs/CVE-2022-42915.html","hostname":"curl.se","tags":["REPORT","Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221209-0010/","label":"security.netapp.com/advisory/ntap-20221209-0010/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202212-01","label":"security.gentoo.org/glsa/202212-01","hostname":"security.gentoo.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT213604","label":"support.apple.com/kb/HT213604","hostname":"support.apple.com","tags":["Third Party Advisory"]},{"url":"https://support.apple.com/kb/HT213605","label":"support.apple.com/kb/HT213605","hostname":"support.apple.com","tags":["Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/20","label":"seclists.org/fulldisclosure/2023/Jan/20","hostname":"seclists.org","tags":["Mailing List","Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/19","label":"seclists.org/fulldisclosure/2023/Jan/19","hostname":"seclists.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-42915","label":"security.alpinelinux.org/vuln/CVE-2022-42915","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-42915","label":"ubuntu.com/security/CVE-2022-42915","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5702-1","label":"ubuntu.com/security/notices/USN-5702-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-42915","label":"www.cve.org/CVERecord?id=CVE-2022-42915","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-42915","label":"security-tracker.debian.org/tracker/CVE-2022-42915","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42915","label":"nvd.nist.gov/vuln/detail/CVE-2022-42915","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-892048.html","label":"cert-portal.siemens.com/productcert/html/ssa-892048.html","hostname":"cert-portal.siemens.com","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:12447-1","RHSA-2022:8840","USN-5702-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12447-1","USN-5702-1"]},"timeline":[{"kind":"published","date":"2022-10-29T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T18:26:42.790Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T06:23:16.510Z","stale":false,"partial":false}}