Description
This flaw allows an attacker to insert cookies at will into a running program
using libcurl, if the specific series of conditions are met.
libcurl performs transfers. In its API, an application creates "easy handles"
that are the individual handles for single transfers.
libcurl provides a function call that duplicates en easy handle called
[curl_easy_duphandle](https://curl.se/libcurl/c/curl_easy_duphandle.html).
If a transfer has cookies enabled when the handle is duplicated, the
cookie-enable state is also cloned - but without cloning the actual
cookies. If the source handle did not read any cookies from a specific file on
disk, the cloned version of the handle would instead store the file name as
`none` (using the four ASCII letters, no quotes).
Subsequent use of the cloned handle that does not explicitly set a source to
load cookies from would then inadvertently load cookies from a file named
`none` - if such a file exists and is readable in the current directory of the
program using libcurl. And if using the correct file format of course.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| curl | curl | 8.4.0 – < 8.4.0 | 8.4.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 | 8.3.0-3 | — |
| Debian 13 | curl | 8.3.0-3 | — |
| Debian 12 | curl | 7.88.1-10+deb12u4 | DSA-5523-1 |
| Debian 11 | curl | 7.74.0-1.3+deb11u10 | DSA-5523-1 |
| Debian 10 | curl | 7.64.0-4+deb10u7 | DLA-3613-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | curl | 8.2.1-1ubuntu3.1 | — |
| Ubuntu 22.04 LTS | curl | 7.81.0-1ubuntu1.14 | USN-6429-1 |
| Ubuntu 20.04 LTS | curl | 7.68.0-1ubuntu2.20 | USN-6429-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | curl | 7.58.0-2ubuntu3.24+esm2 | USN-6429-2 |
| Ubuntu Pro 16.04 LTS | curl | 7.47.0-1ubuntu2.19+esm10 | USN-6429-2 |
| Ubuntu Pro 14.04 LTS | curl | 7.35.0-1ubuntu2.20+esm17 | USN-6429-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | curl +4 | 7.76.1-23.el9_2.4 | RHSA-2023:6745, RHSA-2023:5763 |
| RHEL 8 | curl +3 | 7.61.1-33.el8_9.5 | RHSA-2024:1601 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Satellite Client 6 | puppet-agent | 7.28.0-1.el6sat | RHSA-2024:2101 |
| RHEL 9.0 EUS | curl +4 | 7.76.1-14.el9_0.9 | RHSA-2023:5700 |
| RHEL 8.8 EUS | curl +3 | 7.61.1-30.el8_8.6 | RHSA-2023:7540 |
| RHEL 8.6 EUS | curl +3 | 7.61.1-22.el8_6.9 | RHSA-2023:6292 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-curl +2 | 8.4.0-2.el7jbcs | RHSA-2023:7625 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_http2 | 1.15.19-32.el7jbcs | RHSA-2023:7625 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_jk +1 | 1.2.49-1.redhat_1.el7jbcs | RHSA-2023:7625 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl +4 | 1:1.1.1k-16.el7jbcs | RHSA-2023:7625 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | curl +4 | 7.76.1-23.el9_2.4 | ALSA-2023:6745, ALSA-2023:5763 |
| AlmaLinux 8 | curl +3 | 7.61.1-33.el8_9.5 | ALSA-2024:1601 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | curl | 7.76.1-23.el9_2.4 | RLSA-2023:5763 |
| Rocky Linux 8 | curl | 7.61.1-33.el8_9.5 | RLSA-2024:1601 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | curl | 8.0.1-150400.5.32.1 | SUSE-SU-2023:4044-1 |
| SLES 15 SP4 | curl | 8.0.1-150400.5.32.1 | SUSE-SU-2023:4044-1 |
| SLES 15 SP1 | curl | 7.60.0-150000.56.1 | SUSE-SU-2023:4650-1 |
| SLES 12 SP5 | curl | 8.0.1-11.74.1 | SUSE-SU-2023:4043-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | curl | 7.60.0-150000.56.1 | SUSE-SU-2023:4650-1 |
| SLES for SAP 12 SP5 | curl | 8.0.1-11.74.1 | SUSE-SU-2023:4043-1 |
| SLE Micro 5.5 | curl | 8.0.1-150400.5.32.1 | SUSE-SU-2023:4044-1 |
| SLE Micro 5.4 | curl | 8.0.1-150400.5.32.1 | SUSE-SU-2023:4044-1 |
| SLE Micro 5.3 | curl | 8.0.1-150400.5.32.1 | SUSE-SU-2023:4044-1 |
| SLE Micro 5.2 | curl | 7.66.0-150200.4.60.1 | SUSE-SU-2023:4045-1 |
| SLE Micro 5.1 | curl | 7.66.0-150200.4.60.1 | SUSE-SU-2023:4045-1 |
| SLE HPC 15 SP1 | curl | 7.60.0-150000.56.1 | SUSE-SU-2023:4650-1 |
| SUSE Manager Server 4.2 | curl | 7.66.0-150200.4.60.1 | SUSE-SU-2023:4045-1 |
| SUSE Manager Proxy 4.2 | curl | 7.66.0-150200.4.60.1 | SUSE-SU-2023:4045-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | curl | 8.4.0-1.1 | openSUSE-SU-2024:13325-1 |
| openSUSE Leap 15.5 | curl | 8.0.1-150400.5.32.1 | SUSE-SU-2023:4044-1 |
| openSUSE Leap 15.4 | curl | 8.0.1-150400.5.32.1 | SUSE-SU-2023:4044-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | curl | 8.4.0-r0 | — |
| Alpine v3.23 | curl | 8.4.0-r0 | — |
| Alpine v3.22 | curl | 8.4.0-r0 | — |
| Alpine v3.21 | curl | 8.4.0-r0 | — |
| Alpine v3.20 | curl | 8.4.0-r0 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | curl | 8.4.0-r0 | — |
| Alpine v3.18 | curl | 8.4.0-r0 | — |
| Alpine v3.17 | curl | 8.4.0-r0 | — |
| Alpine v3.16 | curl | 8.4.0-r0 | — |
| Alpine v3.15 | curl | 8.4.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | curl +4 | 8.3.0-1.amzn2023.0.2 | ALAS2023-2023-377 |
| Amazon Linux 2023 | ecs-service-connect-agent | v1.27.2.0-1.amzn2023 | ALAS2023-2023-420 |
| Amazon Linux 2 | curl +2 | 8.3.0-1.amzn2.0.4 | ALAS2-2023-2287 |
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-10 | — |
| Azure Linux 2 (CBL-Mariner) | curl | 8.3.0-2 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | curl +4 | 7.76.1-23.el9_2.4 | ELSA-2023-6745, ELSA-2023-5763 |
| Oracle Linux 8 | curl +3 | 7.61.1-33.el8_9.5 | ELSA-2024-1601 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | curl +1 | 8.4.0-r0 | — |
Advisories 46
- ALSA-2023:5763 Important: curl security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:6745 Important: curl security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:1601 Moderate: curl security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2023-2570 cURL: Mehre Schwachstellen BSI CERT-Bund (WID) · Oct 28, 2026
- RHSA-2024:1601 Red Hat Security Advisory: curl security and bug fix update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:7625 Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.57 SP2 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:6745 Red Hat Security Advisory: curl security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:5763 Red Hat Security Advisory: curl security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:5700 Red Hat Security Advisory: curl security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SSA-082556 SSA-082556: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.5 Siemens ProductCERT · Oct 13, 2026
- RHSA-2024:2101 Red Hat Security Advisory: Red Hat Satellite Client bug fix and security update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- RHSA-2023:7540 Red Hat Security Advisory: curl security and bug fix update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- RHSA-2023:6292 Red Hat Security Advisory: curl security update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- USN-6429-2 curl vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- ICSA-25-162-05 Siemens SIMATIC S7-1500 CPU family CISA ICS & IT advisories · May 14, 2026
- WID-SEC-2024-1226 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- USN-6429-1 curl vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5523-1 curl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3613-1 curl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2023:5763 Important: curl security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2024:1601 Moderate: curl security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2023:4650-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13325-1 curl-8.4.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4045-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4044-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- ICSA-24-074-05 Siemens RUGGEDCOM APE1808 CISA ICS & IT advisories · Jan 14, 2026
- SSA-832273 SSA-832273: Multiple Vulnerabilities in Fortigate NGFW Before V7.4.3 on RUGGEDCOM APE1808 Devices Siemens ProductCERT · Jan 13, 2026
- WID-SEC-2024-1086 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 19, 2025
- WID-SEC-2024-3377 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- NCSC-2025-0187 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Jun 10, 2025
- VDE-2024-073 Phoenix Contact: Multiple Vulnerabilities in PLCnext Firmware CERT@VDE · May 22, 2025
- SUSE-SU-2023:4043-1 Security update for curl SUSE / openSUSE Security Updates · May 2, 2025
- NCSC-2025-0129 Kwetsbaarheden verholpen in Oracle Analytics NCSC-NL (Netherlands) · Apr 16, 2025
- SSA-093430 SSA-093430: Multiple Vulnerabilities in SIMATIC RTLS Locating Manager before V3.0 Siemens ProductCERT · Jun 11, 2024
- ICSA-24-137-07 Siemens SIMATIC RTLS Locating Manager CISA ICS & IT advisories · Jun 11, 2024
- WID-SEC-2024-0178 Apple iOS und iPadOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 9, 2024
- WID-SEC-2024-0175 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 9, 2024
- ELSA-2024-1601 Moderate: curl security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 3, 2024
- SSA-943925 SSA-943925: Multiple Vulnerabilities in SINEC NMS before V2.0 SP1 Siemens ProductCERT · Mar 12, 2024
- ICSA-24-046-15 Siemens SINEC NMS CISA ICS & IT advisories · Mar 12, 2024
- ELSA-2023-6745 Important: curl security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 16, 2023
- ALAS2023-2023-420 Important: ecs-service-connect-agent security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 3, 2023
- ELSA-2023-5763 Important: curl security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 18, 2023
- ALAS2-2023-2287 Important: curl security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 11, 2023
- ALAS2023-2023-377 Important: curl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 11, 2023
References
- https://curl.se/docs/CVE-2023-38546.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/
- https://support.apple.com/kb/HT214036
- https://support.apple.com/kb/HT214063
- https://support.apple.com/kb/HT214057
- https://support.apple.com/kb/HT214058
- http://seclists.org/fulldisclosure/2024/Jan/34
- http://seclists.org/fulldisclosure/2024/Jan/37
- http://seclists.org/fulldisclosure/2024/Jan/38
- https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868