CVE & CISA-KEV Catalog

CVE-2022-42915

HIGHEPSS 85th pctl
8.1
CVSS v3
NVD

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.

How to fix

Remediation Available
curlDebian
Fixed in:7.86.0-1CVE-2022-42915
Fixed in:7.86.0-1CVE-2022-42915
Fixed in:7.86.0-1CVE-2022-42915
curlUbuntu
Fixed in:7.58.0-2ubuntu3.21USN-5702-1
Fixed in:7.68.0-1ubuntu2.14USN-5702-1
Fixed in:7.81.0-1ubuntu1.6USN-5702-1
Fixed in:7.85.0-1ubuntu0.1USN-5702-1
libcurl3-gnutlsUbuntu
Fixed in:7.58.0-2ubuntu3.21USN-5702-1
Fixed in:7.68.0-1ubuntu2.14USN-5702-1
Fixed in:7.81.0-1ubuntu1.6USN-5702-1
Fixed in:7.85.0-1ubuntu0.1USN-5702-1
libcurl3-nssUbuntu
Fixed in:7.58.0-2ubuntu3.21USN-5702-1
Fixed in:7.68.0-1ubuntu2.14USN-5702-1
Fixed in:7.81.0-1ubuntu1.6USN-5702-1
Fixed in:7.85.0-1ubuntu0.1USN-5702-1
libcurl4Ubuntu
Fixed in:7.58.0-2ubuntu3.21USN-5702-1
Fixed in:7.68.0-1ubuntu2.14USN-5702-1
Fixed in:7.81.0-1ubuntu1.6USN-5702-1
Fixed in:7.85.0-1ubuntu0.1USN-5702-1
UniversalForwarderWindows application
Affected:9.0.0 9.0.6Fixed in:9.0.6Splunk, Inc.
Affected:8.2.0 8.2.12Fixed in:8.2.12Splunk, Inc.

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

2.93%probability of exploitation in 30 days
85thpercentile

Elevated risk: more likely to be exploited than 85% of all known CVEs.

References

Embed a live status badge for CVE-2022-42915
CVE-2022-42915 severity badge

Markdown

[![CVE-2022-42915](https://tridentstack.com/cve/badge/CVE-2022-42915.svg)](https://tridentstack.com/cve/CVE-2022-42915)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-42915"><img src="https://tridentstack.com/cve/badge/CVE-2022-42915.svg" alt="CVE-2022-42915"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-05-07.