
CVE catalog
CVE-2023-38546
curl: CVE-2023-38546
- Severity
- Medium · CVSS 4.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 5.96% · Oct 25, 2026
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.
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 |
| Alpine | curl | 3.15 | 8.4.0-r0 | fixed |
| Alpine | curl | 3.16 | 8.4.0-r0 | fixed |
| Alpine | curl | 3.17 | 8.4.0-r0 | fixed |
| Alpine | curl | 3.18 | 8.4.0-r0 | fixed |
| Alpine | curl | 3.19 | 8.4.0-r0 | fixed |
| Alpine | curl | 3.20 | 8.4.0-r0 | fixed |
| Alpine | curl | 3.21 | 8.4.0-r0 | fixed |
| Alpine | curl | 3.22 | 8.4.0-r0 | fixed |
| Alpine | curl | 3.23 | 8.4.0-r0 | fixed |
| Alpine | curl | 3.24 | 8.4.0-r0 | fixed |
| Ubuntu | curl | pro | 7.55.1-1ubuntu2 | vulnerable |
| Ubuntu | curl | pro | 7.55.1-1ubuntu2.1 | vulnerable |
| Ubuntu | curl | pro | 7.57.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu1 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu2 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.1 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.2 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.3 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.5 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.6 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.7 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.8 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.9 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.10 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.12 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.13 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.14 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.15 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.16 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.17 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.18 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.19 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.20 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.21 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.22 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.23 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.24 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.24+esm1 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.24+esm2 | fixed |
| Ubuntu | curl | pro | 7.55.1-1ubuntu2 | vulnerable |
| Ubuntu | curl | pro | 7.55.1-1ubuntu2.1 | vulnerable |
| Ubuntu | curl | pro | 7.57.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu1 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu2 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.1 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.2 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.3 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.5 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.6 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.7 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.8 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.9 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.10 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.12 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.13 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.14 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.15 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.16 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.17 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.18 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.19 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.20 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.21 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.22 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.23 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.24 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.24+esm1 | vulnerable |
| Ubuntu | curl | pro | 7.58.0-2ubuntu3.24+esm2 | fixed |
| Ubuntu | curl | 20.04 | 7.65.3-1ubuntu3 | vulnerable |
| Ubuntu | curl | 20.04 | 7.65.3-1ubuntu4 | vulnerable |
| Ubuntu | curl | 20.04 | 7.66.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | 20.04 | 7.67.0-2ubuntu1 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu1 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.1 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.2 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.4 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.5 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.6 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.7 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.10 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.11 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.12 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.13 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.14 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.15 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.16 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.18 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.19 | vulnerable |
| Ubuntu | curl | 20.04 | 7.68.0-1ubuntu2.20 | fixed |
| 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 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.7 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.8 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.10 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.11 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.13 | vulnerable |
| Ubuntu | curl | 22.04 | 7.81.0-1ubuntu1.14 | fixed |
| Ubuntu | curl | 24.04 | 8.2.1-1ubuntu3 | vulnerable |
| Ubuntu | curl | 24.04 | 8.2.1-1ubuntu3.1 | fixed |
| Suse | curl | linux enterprise high performance computing 15 sp1-ltss | 7.60.0-150000.56.1 | fixed |
| Suse | curl | linux enterprise server 15 sp1-ltss | 7.60.0-150000.56.1 | fixed |
| Suse | curl | linux enterprise server for sap applications 15 sp1 | 7.60.0-150000.56.1 | fixed |
| Suse | curl | manager proxy 4.2 | 7.66.0-150200.4.60.1 | fixed |
| Suse | curl | manager server 4.2 | 7.66.0-150200.4.60.1 | fixed |
| Suse | curl | linux enterprise micro 5.1 | 7.66.0-150200.4.60.1 | fixed |
| Suse | curl | linux enterprise micro 5.2 | 7.66.0-150200.4.60.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | curl | source | sid | 8.3.0-3 | not yet assigned | Not reported | Not reported |
| Debian | curl | source | forky | 8.3.0-3 | not yet assigned | Not reported | Not reported |
| Debian | curl | source | trixie | 8.3.0-3 | not yet assigned | Not reported | Not reported |
| Debian | curl | source | bookworm | 7.88.1-10+deb12u4 | not yet assigned | Not reported | Not reported |
| Alpine | curl | apk | 3.15 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Alpine | curl | apk | 3.16 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Alpine | curl | apk | 3.17 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Alpine | curl | apk | 3.18 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Alpine | curl | apk | 3.19 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Alpine | curl | apk | 3.20 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Alpine | curl | apk | 3.21 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Alpine | curl | apk | 3.22 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Alpine | curl | apk | 3.23 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Alpine | curl | apk | 3.24 | 8.4.0-r0 | Not reported | ALPINE-CVE-2023-38546 | Not reported |
| Ubuntu | curl | deb | pro | 7.58.0-2ubuntu3.24+esm2 | Not reported | USN-6429-2 | Not reported |
| Ubuntu | curl | deb | pro | 7.58.0-2ubuntu3.24+esm2 | Not reported | UBUNTU-CVE-2023-38546 | Not reported |
| Ubuntu | curl | deb | 20.04 | 7.68.0-1ubuntu2.20 | Not reported | UBUNTU-CVE-2023-38546 | Not reported |
| Ubuntu | curl | deb | 22.04 | 7.81.0-1ubuntu1.14 | Not reported | UBUNTU-CVE-2023-38546 | Not reported |
| Ubuntu | curl | deb | 24.04 | 8.2.1-1ubuntu3.1 | Not reported | UBUNTU-CVE-2023-38546 | Not reported |
| Suse | curl | rpm | linux enterprise high performance computing 15 sp1-ltss | 7.60.0-150000.56.1 | Not reported | SUSE-SU-2023:4650-1 | Not reported |
| Suse | curl | rpm | linux enterprise server 15 sp1-ltss | 7.60.0-150000.56.1 | Not reported | SUSE-SU-2023:4650-1 | Not reported |
| Suse | curl | rpm | linux enterprise server for sap applications 15 sp1 | 7.60.0-150000.56.1 | Not reported | SUSE-SU-2023:4650-1 | Not reported |
| Suse | curl | rpm | manager proxy 4.2 | 7.66.0-150200.4.60.1 | Not reported | SUSE-SU-2023:4045-1 | Not reported |
| Suse | curl | rpm | manager server 4.2 | 7.66.0-150200.4.60.1 | Not reported | SUSE-SU-2023:4045-1 | Not reported |
| Suse | curl | rpm | linux enterprise micro 5.1 | 7.66.0-150200.4.60.1 | Not reported | SUSE-SU-2023:4045-1 | Not reported |
| Suse | curl | rpm | linux enterprise micro 5.2 | 7.66.0-150200.4.60.1 | Not reported | SUSE-SU-2023:4045-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-943925.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_1601.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2023-38546]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-38546]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4045-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4650-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-38546]
- [https://osv.dev/vulnerability/USN-6429-2]
- [https://security-tracker.debian.org/tracker/CVE-2023-38546]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-38546.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1226.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]