CVE-2022-42915 json
curl before 7.86.0 has a double free.
published 2022-10-29 4 y ago modified 2026-10-14 25 d ago also EUVD-2022-45972 , JLSEC-2026-398
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia CURL_jll 8.5.0+0
- julia LibCURL_jll 7.87.0+0
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- curl Debian 14, Debian 13, Debian 12 7.86.0-1
debian advisories DEBIAN-CVE-2022-42915
- curl Ubuntu 22.04 LTS 7.81.0-1ubuntu1.6
ubuntu advisories UBUNTU-CVE-2022-42915
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- jbcs-httpd24-curl jboss core services 1 7.86.0-2.el7jbcs
- jbcs-httpd24-curl jboss core services 1 7.86.0-2.el8jbcs
- jbcs-httpd24-httpd jboss core services 1 2.4.51-37.el7jbcs
- jbcs-httpd24-httpd jboss core services 1 2.4.51-37.el8jbcs
- jbcs-httpd24-libcurl jboss core services 1 7.86.0-2.el7jbcs
- jbcs-httpd24-libcurl jboss core services 1 7.86.0-2.el8jbcs
- jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.51-37.el7jbcs
- jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.51-37.el8jbcs
red hat advisories RHSA-2022:8840
- curl openSUSE Tumbleweed 7.86.0-1.1
opensuse advisories openSUSE-SU-2024:12447-1
- curl Alpine 3.15 7.80.0-r4
- curl Alpine 3.16 7.83.1-r4
- curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 7.86.0-r0
alpine advisories ALPINE-CVE-2022-42915
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- curl CBL-Mariner 2.0 7.86.0-1
- tensorflow Azure Linux 3.0 2.16.1-1
azure linux advisories AZL-11368AZL-38185
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-42915 updated cvss 7.5
curl: HTTP proxy double-free
-
Red Hat JBoss Core Servicesfixed: vendor fix RHSA-2022:8841
-
Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 7.86.0-2.el7jbcs, jbcs-httpd24-libcurl 7.86.0-2.el7jbcs Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-curl 7.86.0-2.el8jbcs, jbcs-httpd24-libcurl 7.86.0-2.el8jbcsfixed: vendor fix RHSA-2022:8840
-
Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimal Red Hat Enterprise Linux 9 curl, libcurl, curl-minimal, libcurl-minimal Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-httpd 2.4.51-37.el7jbcs, jbcs-httpd24-mod_md 2.4.0-18.el7jbcs, jbcs-httpd24-apr-util 1.6.1-99.el7jbcs, jbcs-httpd24-mod_ssl 2.4.51-37.el7jbcs, jbcs-httpd24-nghttp2 1.43.0-11.el7jbcs, jbcs-httpd24-openssl 1.1.1k-13.el7jbcs, +22 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-httpd 2.4.51-37.el8jbcs, jbcs-httpd24-mod_md 2.4.0-18.el8jbcs, jbcs-httpd24-apr-util 1.6.1-99.el8jbcs, jbcs-httpd24-mod_ssl 2.4.51-37.el8jbcs, jbcs-httpd24-nghttp2 1.43.0-11.el8jbcs, jbcs-httpd24-openssl 1.1.1k-13.el8jbcs, +22 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 7.5
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-23-131-05 updated cvss 7.5
Siemens SINEC NMS Third-Party
-
Siemens SINEC NMS <V1.0.3.1affected: fixed in V1.0.3.1 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
3.65% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | CURL_jll | <8.5.0+0 |
8.5.0+0 |
| julia | LibCURL_jll | >=7.81.0+0, <7.87.0+0 |
7.87.0+0 |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-415 Double Free
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/
vendor-advisory, mailing-list, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/
vendor-advisory, mailing-list, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/
vendor-advisory, mailing-list, third-party-advisory, web
-
security.gentoo.org
/glsa/202212-01
vendor-advisory, third-party-advisory, web
-
curl.se
/docs/CVE-2022-42915.html
vendor-advisory, web
-
security.netapp.com
/advisory/ntap-20221209-0010/
third-party-advisory, web
-
support.apple.com
/kb/HT213604
third-party-advisory, web
-
support.apple.com
/kb/HT213605
third-party-advisory, web
-
seclists.org
/fulldisclosure/2023/Jan/20
mailing-list, third-party-advisory, web
-
seclists.org
/fulldisclosure/2023/Jan/19
mailing-list, third-party-advisory, web
- cert-portal.siemens.com /productcert/html/ssa-892048.html
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2022-42915
- NVD CVE-2022-42915
- OSV JLSEC-2026-398
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.