# CVE-2023-38546

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-10-18 · Modified: 2026-10-14
- Aliases: ALPINE-CVE-2023-38546, SUSE-SU-2023:4045-1, RHSA-2023:7540, RHSA-2024:2101, UBUNTU-CVE-2023-38546, USN-6429-2, DEBIAN-CVE-2023-38546, CGA-548r-j73v-jh9x, CGA-5p43-7f7r-qhp5, CGA-72hr-hxcp-wmwr, CGA-w45p-vc8q-7fg6, CGA-wc8q-x3mf-2jrw
- Record: https://cvemate.com/vulnerability/CVE-2023-38546 · JSON: https://cvemate.com/vulnerability/CVE-2023-38546/json

## Description

```text
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.
```

## Signals

- CVSS: 3.7 low (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 5.956%, percentile 93.477%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 25)

- alpine curl (Alpine Linux): \< 8.4.0-r0
- chainguard curl (Chainguard): \< 8.4.0-r0
- chainguard curl-rustls (Chainguard): \< 8.4.0-r0
- chainguard libcurl4 (Chainguard): All versions (No fix recorded)
- wolfi curl (Wolfi): \< 8.4.0-r0
- wolfi curl-rustls (Wolfi): \< 8.4.0-r0
- wolfi libcurl4 (Wolfi): All versions (No fix recorded)
- curl curl: ≥ 8.4.0, \< 8.4.0
- debian curl (Debian): \< 7.88.1-10+deb12u4 \| \< 8.3.0-3
- ubuntu curl (Ubuntu): \< 7.35.0-1ubuntu2.20+esm17 \| \< 7.47.0-1ubuntu2.19+esm10 \| \< 7.58.0-2ubuntu3.24+esm2 \| \< 7.68.0-1ubuntu2.20 \| \< 7.81.0-1ubuntu1.14 \| \< 8.2.1-1ubuntu3.1
- haxx libcurl: ≥ 7.9.1, \< 8.4.0
- redhat curl (Red Hat): \< 0:7.61.1-30.el8\_8.6
- redhat curl-debuginfo (Red Hat): \< 0:7.61.1-30.el8\_8.6
- redhat curl-debugsource (Red Hat): \< 0:7.61.1-30.el8\_8.6
- redhat curl-minimal-debuginfo (Red Hat): \< 0:7.61.1-30.el8\_8.6
- redhat libcurl (Red Hat): \< 0:7.61.1-30.el8\_8.6
- redhat libcurl-debuginfo (Red Hat): \< 0:7.61.1-30.el8\_8.6
- redhat libcurl-devel (Red Hat): \< 0:7.61.1-30.el8\_8.6
- redhat libcurl-minimal (Red Hat): \< 0:7.61.1-30.el8\_8.6
- redhat libcurl-minimal-debuginfo (Red Hat): \< 0:7.61.1-30.el8\_8.6

## References (first 20 of 35)

- <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>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00016.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-943925.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-832273.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-093430.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://security.alpinelinux.org/vuln/CVE-2023-38546>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20234045-1/>
- <https://bugzilla.suse.com/1215889>
- <https://www.suse.com/security/cve/CVE-2023-38546>
- <https://access.redhat.com/errata/RHSA-2023:7540>

---

Data as of 2026-12-05T03:06:51.133Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
