CVE-2023-38546
This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the specific series of…
Mitigation
- Upgrade curl to 8.4.0 or later.
Who should check
- Anyone running curl >= 8.4.0, < 8.4.0
Vulnerability facts
- Affected
- curl >= 8.4.0, < 8.4.0
- Fixed in
- curl 8.4.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 3.7 (v3.1, NVD)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.91% chance of exploitation in 30 days (percentile 80, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| curl | >= 8.4.0, < 8.4.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-38546. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-38546.md Affected: curl >= 8.4.0, < 8.4.0 Fixed in: curl 8.4.0 Steps: 1. Search this machine and project for curl: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- 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
FAQ
Is CVE-2023-38546 being exploited?
There is no confirmed exploitation: CVE-2023-38546 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.91% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-38546?
Low: CVSS 3.7 (v3.1, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-38546?
curl >= 8.4.0, < 8.4.0.
Is there a fix for CVE-2023-38546?
Yes. Fixed in curl 8.4.0. Upgrade curl to 8.4.0 or later.
How do I check if I'm affected by CVE-2023-38546?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.