PT-2022-5377

CVE-2022-42915

·

Published

2022-10-26

·

Updated

2026-09-18

Description by

CVSS 2.0
10
High
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions curl versions 7.77.0 through 7.85.0
Description The issue is related to a double free in curl when using an HTTP proxy for a transfer with a non-HTTP(S) URL. If curl is told to use an HTTP proxy, it sets up the connection by issuing a CONNECT request to the proxy and then tunnels the rest of the protocol through. An HTTP proxy might refuse this request and return a non-200 status code, which could trigger a double free in curl if one of the following schemes is used in the URL: dict, gopher, gophers, ldap, ldaps, rtmp, rtmps, or telnet.
Recommendations For versions 7.77.0 through 7.85.0, update to version 7.86.0 to resolve the issue. As a temporary workaround, consider avoiding the use of HTTP proxies with non-HTTP(S) URLs or restricting the use of the vulnerable schemes until a patch is available.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
ALT-PU-2022-2989
ALT-PU-2022-3017
ALT-PU-2022-3042
AZL-11368
AZL-38185
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-JO97446
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
JLSEC-2026-398
OESA-2022-2041
OPENSUSE-SU-2024:12447-1
RHSA-2022:8840
USN-5702-1
Found an issue in the description? Have something to add? Feel free to write us 👾