Skip to main content
Network Thinking Solutions Logo

CVE-2022-42915

curl before 7.86.0 has a double free.

All CVEs
CVE-2022-42915Published 10/29/2022

curl before 7.86.0 has a double free.

Vendor advisory
CVSS8.1High

Overview

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.

Published
10/29/2022
Last modified
10/14/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
curl
haxx
≥ 7.77.0, < 7.86.0

Verify advisory

Source
fedora
fedoraproject
35

Verify advisory

Source
fedora
fedoraproject
36

Verify advisory

Source
fedora
fedoraproject
37

Verify advisory

Source
h300s firmware
netapp
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
h500s firmware
netapp
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
h700s firmware
netapp
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
h410s firmware
netapp
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ontap 9
netapp
Range not specified — verify advisory

Verify advisory

Source
macos
apple
≥ 12.0.0, < 12.6.3

Verify advisory

Source
macos
apple
≥ 13.0, < 13.2

Verify advisory

Source
universal forwarder
splunk
≥ 8.2.0, < 8.2.12

Verify advisory

Source
universal forwarder
splunk
≥ 9.0.0, < 9.0.6

Verify advisory

Source
universal forwarder
splunk
9.1.0

Verify advisory

Source
n/a
n/a
n/a

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.0, < V3.1.5

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Siemens
≥ V3.1.0, < V3.1.5

Verify advisory

Source
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.0, < V3.1.5

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.