# CVE-2022-42916: HSTS bypass via IDN

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.51%, higher than 85% of CVEs (2026-12-01)
- Published: 2022-10-26T08:00:00.000Z
- Modified: 2026-10-25T01:05:32.136Z
- Also known as: CURL-CVE-2022-42916
- Weaknesses: CWE-319
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- https://github.com/curl/curl.git: from 7.77.0 before 7.86.0; from 7385610d0c74c6a254fea5e4cd6e1d559d848c8c before 53bcf55b4538067e6dc36242168866becb987bb7
- haxx curl: from 7.77.0 before 7.86.0
- fedoraproject fedora: 35; 36; 37
- apple macos: before 12.6.3; from 13.0 before 13.2
- splunk universal_forwarder: from 8.2.0 before 8.2.12; from 9.0.0 before 9.0.6; 9.1.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- curl: rating Medium
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://curl.se/docs/CVE-2022-42916.html> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20221209-0010/> (broken-link)
- <https://security.gentoo.org/glsa/202212-01> (third-party-advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2022/12/21/1> (mailing-list, third-party-advisory)
- <https://support.apple.com/kb/HT213604> (third-party-advisory)
- <https://support.apple.com/kb/HT213605> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Jan/20> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Jan/19> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-892048.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2022-42916](https://www.cve.org/CVERecord?id=CVE-2022-42916), CVE Terms of Use, modified 2026-10-14
- curl: [CURL-CVE-2022-42916](https://osv.dev/vulnerability/CURL-CVE-2022-42916), MIT, modified 2026-10-25
- NVD: [CVE-2022-42916](https://nvd.nist.gov/vuln/detail/CVE-2022-42916), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-42916 · Whole record: https://cve.day/CVE-2022-42916.json · Rebuilt by cve.day 2026-11-25T22:58:16.069Z
