
CVE catalog
CVE-2022-42916
curl: CVE-2022-42916
- Severity
- Critical · CVSS 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.01% · Oct 25, 2026
In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly (instead of using an insecure cleartext HTTP step) even when HTTP is provided in the URL. This mechanism could be bypassed if the host name in the given URL uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion, e.g., using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop of U+002E (.). The earliest affected version is 7.77.0 2021-05-26.
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 | 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-42916 | Not reported |
| Cpe | macos | cpe | Not reported | 13.2 | Not reported | NVD-CVE-2022-42916 | Not reported |
| Ubuntu | curl | deb | 22.04 | 7.81.0-1ubuntu1.6 | Not reported | UBUNTU-CVE-2022-42916 | 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/suse-su-2022_3785-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2022-42916]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-42916]
- [https://security-tracker.debian.org/tracker/CVE-2022-42916]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-42916.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]