
CVE catalog
CVE-2022-42915
curl: CVE-2022-42915
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.93% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | curl | sid | 8.23.0-1 | fixed |
| Debian | curl | forky | 8.22.0-1 | fixed |
| Debian | curl | trixie | 8.14.1-2+deb13u5 | fixed |
| Debian | curl | trixie-security | 8.14.1-2+deb13u7 | fixed |
| Debian | curl | bookworm | 7.88.1-10+deb12u15 | fixed |
| Debian | curl | bookworm-security | 7.88.1-10+deb12u5 | fixed |
| Cpe | curl | Not reported | 7.86.0 | fixed |
| Cpe | fedora | Not reported | Not reported | unknown |
| Cpe | h300s_firmware | Not reported | Not reported | unknown |
| Cpe | h500s_firmware | Not reported | Not reported | unknown |
| Cpe | h700s_firmware | Not reported | Not reported | unknown |
| Cpe | h410s_firmware | Not reported | Not reported | unknown |
| Cpe | ontap_9 | Not reported | Not reported | unknown |
| Cpe | macos | Not reported | 13.2 | fixed |
| Cpe | universal_forwarder | Not reported | Not reported | unknown |
| Ubuntu | curl | 22.04 | 7.74.0-1.3ubuntu2 | vulnerable |
| Ubuntu | curl | 22.04 | 7.74.0-1.3ubuntu3 | vulnerable |
| Ubuntu | curl | 22.04 | 7.80.0-3 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.1 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.2 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.3 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.4 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.6 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | curl | source | sid | 7.86.0-1 | not yet assigned | Not reported | Not reported |
| Debian | curl | source | forky | 7.86.0-1 | not yet assigned | Not reported | Not reported |
| Debian | curl | source | trixie | 7.86.0-1 | not yet assigned | Not reported | Not reported |
| Debian | curl | source | bookworm | 7.86.0-1 | not yet assigned | Not reported | Not reported |
| Cpe | curl | cpe | Not reported | 7.86.0 | Not reported | NVD-CVE-2022-42915 | Not reported |
| Cpe | macos | cpe | Not reported | 13.2 | Not reported | NVD-CVE-2022-42915 | Not reported |
| Ubuntu | curl | deb | 22.04 | 7.81.0-1ubuntu1.6 | Not reported | UBUNTU-CVE-2022-42915 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [curl]Unknown
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
- [libcurl3-gnutls]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
- [libcurl3-nss]Unknown
Source package: [curl]
Details (4)
7.88.1-10+deb12u15· amd64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
- [libcurl4]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
- [libcurl4-doc]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· all · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u15· all · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· all · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· all · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· all · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· all · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
- [libcurl4-gnutls-dev]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
- [libcurl4-nss-dev]Unknown
Source package: [curl]
Details (4)
7.88.1-10+deb12u15· amd64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
- [libcurl4-openssl-dev]Unknown
Source package: [curl]
Details (6)
7.88.1-10+deb12u15· amd64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u15· arm64 · bookwormFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· amd64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
8.14.1-2+deb13u2~bpo13+1· arm64 · bookworm-backportsFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· amd64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
7.88.1-10+deb12u5· arm64 · bookworm-securityFixed · Fixed:
7.86.0-1dsa · curl · debian · bookworm
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-892048.json]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_12447-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2022-42915]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-42915]
- [https://security-tracker.debian.org/tracker/CVE-2022-42915]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-42915.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-1862.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]