Skip to content
Noroxi
CVE-2022-42915· NVD / CVE Program· CNA mitre

curl before 7.86.0 has a double free.

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.

HighCVSS 8.1 · v3.1—No exploit Fix available
Published
Oct 29, 2022
Updated
Jun 17, 2026
EPSS
3.1% · 87th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

33

Monitor

Low priority for now.

CVSS
32 / 40 · 8.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.1%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
haxxcurl
fedoraprojectfedora
netapph300s firmware
netapph300s
netapph500s firmware
netapph500s
netapph700s firmware
netapph700s
netapph410s firmware
netapph410s
netappontap 9
applemacos

and 1 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apple macos13.0 and later · before 13.2
  • apple macos12.0.0 and later · before 12.6.3
  • fedoraproject fedora35
  • fedoraproject fedora36
  • fedoraproject fedora37
  • haxx curl7.77.0 and later · before 7.86.0
  • netapp h300s firmwareall versions
  • netapp h410s firmwareall versions
  • netapp h500s firmwareall versions
  • netapp h700s firmwareall versions
  • netapp ontap 9all versions
  • splunk universal forwarder8.2.0 and later · before 8.2.12
  • splunk universal forwarder9.0.0 and later · before 9.0.6
  • splunk universal forwarder9.1.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.15curlfrom 7.77.0 · before 7.80.0-r47.80.0-r4
Alpine:v3.16curlfrom 7.77.0 · before 7.83.1-r47.83.1-r4
Alpine:v3.17curlfrom 7.77.0 · before 7.86.0-r07.86.0-r0
Debian:12curlbefore 7.86.0-17.86.0-1
openSUSE:Tumbleweedcurlbefore 7.86.0-1.17.86.0-1.1
Red Hat:jboss_core_services:1::el7jbcs-httpd24-curlbefore 0:7.86.0-2.el7jbcs0:7.86.0-2.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-curl-debuginfobefore 0:7.86.0-2.el7jbcs0:7.86.0-2.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-httpdbefore 0:2.4.51-37.el7jbcs0:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-httpd-debuginfobefore 0:2.4.51-37.el7jbcs0:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-httpd-develbefore 0:2.4.51-37.el7jbcs0:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-httpd-manualbefore 0:2.4.51-37.el7jbcs0:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-httpd-selinuxbefore 0:2.4.51-37.el7jbcs0:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-httpd-toolsbefore 0:2.4.51-37.el7jbcs0:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-libcurlbefore 0:7.86.0-2.el7jbcs0:7.86.0-2.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-libcurl-develbefore 0:7.86.0-2.el7jbcs0:7.86.0-2.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-mod_http2before 0:1.15.19-20.el7jbcs0:1.15.19-20.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-mod_http2-debuginfobefore 0:1.15.19-20.el7jbcs0:1.15.19-20.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-mod_ldapbefore 0:2.4.51-37.el7jbcs0:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-mod_proxy_htmlbefore 1:2.4.51-37.el7jbcs1:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-mod_sessionbefore 0:2.4.51-37.el7jbcs0:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-mod_sslbefore 1:2.4.51-37.el7jbcs1:2.4.51-37.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-opensslbefore 1:1.1.1k-13.el7jbcs1:1.1.1k-13.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-openssl-debuginfobefore 1:1.1.1k-13.el7jbcs1:1.1.1k-13.el7jbcs
Red Hat:jboss_core_services:1::el7jbcs-httpd24-openssl-develbefore 1:1.1.1k-13.el7jbcs1:1.1.1k-13.el7jbcs

+32

Same product

haxx: all records

Other highest-scoring records for the same primary product.

  • CVE-2021-22901curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session t
    50Plan
  • CVE-2023-38039When curl retrieves an HTTP response, it stores the incoming headers so that they can be accessed later via the libcurl headers API.
    47Plan
  • CVE-2024-2398HTTP/2 push headers memory-leak
    45Plan
  • CVE-2019-5482Heap buffer overflow in the TFTP protocol handler in cURL 7.19.4 to 7.65.3.
    44Plan
  • CVE-2017-8817The FTP wildcard function in curl and libcurl before 7.57.0 allows remote attackers to cause a denial of service (out-of-bounds read and app
    42Plan
  • CVE-2017-8816The NTLM authentication feature in curl and libcurl before 7.57.0 on 32-bit platforms allows attackers to cause a denial of service (integer
    42Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:curl7.80.0-r4 · Alpine:v3.15Package registry (OSV)
debian:curl7.86.0-1 · Debian:12Package registry (OSV)
opensuse:curl7.86.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:jbcs-httpd24-httpd0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-httpd-debuginfo0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-httpd-devel0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-httpd-manual0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-httpd-selinux0:2.4.51-37.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-openssl1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-openssl-debuginfo1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-openssl-devel1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-openssl-libs1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-openssl-libs-debuginfo1:1.1.1k-13.el8jbcs · Red Hat:jboss_core_services:1::el8Package registry (OSV)
red hat:jbcs-httpd24-openssl-perl1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:jbcs-httpd24-openssl-static1:1.1.1k-13.el7jbcs · Red Hat:jboss_core_services:1::el7Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-415 · Double Free

CVSS vector

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

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records