Description
A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. However, the HSTS mechanism could be bypassed if the host name in the given URL first uses IDN characters that get replaced to ASCII counterparts as part of the IDN conversion. Like using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop (U+002E) `.`. Then in a subsequent request, it does not detect the HSTS state and makes a clear text transfer. Because it would store the info IDN encoded but look for it IDN decoded.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | https://github.com/curl/curl | Fixed in curl 7.87.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | curl | 7.86.0-3 | — |
| Debian 13 | curl | 7.86.0-3 | — |
| Debian 12 | curl | 7.86.0-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | curl | 7.81.0-1ubuntu1.7 | USN-5788-1 |
| Ubuntu 20.04 LTS | curl | 7.68.0-1ubuntu2.15 | USN-5788-1 |
| Ubuntu 18.04 LTS | curl | 7.58.0-2ubuntu3.22 | USN-5788-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Core Services 1 | jbcs-httpd24-apr-util +8 | 1.6.1-101.el7jbcs | RHSA-2023:3354 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-curl +2 | 8.0.1-1.el7jbcs | RHSA-2023:3354 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-httpd +6 | 2.4.51-39.el7jbcs | RHSA-2023:3354 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_ssl +1 | 1:2.4.51-39.el7jbcs | RHSA-2023:3354 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl +4 | 1:1.1.1k-14.el7jbcs | RHSA-2023:3354 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | curl | 7.79.1-150400.5.12.1 | SUSE-SU-2022:4597-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.3 | curl | 7.79.1-150400.5.12.1 | SUSE-SU-2022:4597-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | curl | 7.87.0-1.1 | openSUSE-SU-2024:12583-1 |
| openSUSE Leap 15.4 | curl | 7.79.1-150400.5.12.1 | SUSE-SU-2022:4597-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | curl | 7.79.1-150400.5.12.1 | SUSE-SU-2022:4597-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | curl | 7.87.0-r0 | — |
| Alpine v3.23 | curl | 7.87.0-r0 | — |
| Alpine v3.22 | curl | 7.87.0-r0 | — |
| Alpine v3.21 | curl | 7.87.0-r0 | — |
| Alpine v3.20 | curl | 7.87.0-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | curl | 7.87.0-r0 | — |
| Alpine v3.18 | curl | 7.87.0-r0 | — |
| Alpine v3.17 | curl | 7.87.0-r0 | — |
| Alpine v3.16 | curl | 7.83.1-r5 | — |
| Alpine v3.15 | curl | 7.80.0-r5 | — |
| Alpine v3.14 | curl | 7.79.1-r4 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | curl +4 | 7.87.0-2.amzn2023.0.2 | ALAS2023-2023-083 |
| Amazon Linux 2 | curl +2 | 7.87.0-2.amzn2.0.1 | ALAS2-2023-1924 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | cmake | 3.21.4-10 | — |
| Azure Linux 3 | tensorflow | 2.16.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | cmake | 3.21.4-3 | — |
| Azure Linux 2 (CBL-Mariner) | curl | 7.86.0-2 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | curl | 7.87.0-r0 | — |
Advisories 19
- RHSA-2023:3354 Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.51 SP2 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2023-1033 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 5, 2026
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- USN-5788-1 curl vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2024:12583-1 curl-7.87.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:4597-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2022-2375 cURL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 6, 2025
- WID-SEC-2024-3377 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- ICSA-23-131-05 Siemens SINEC NMS Third-Party CISA ICS & IT advisories · May 6, 2025
- WID-SEC-2023-0777 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2024
- ALAS2023-2023-083 Moderate: curl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 15, 2024
- WID-SEC-2023-1016 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 26, 2023
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- SSA-892048 SSA-892048: Third-Party Component Vulnerabilities in SINEC NMS before V1.0.3.1 Siemens ProductCERT · May 9, 2023
- ALAS2-2023-1924 Moderate: curl security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 4, 2023