CVE-2015-3145
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly...
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.
Exploit likelihood
What each source reports
NVD Score used
7.5
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.
- Record
CVE-2015-3145- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.
- Record
CVE-2015-3145- Updated
- 2026-11-02
EUVDEUVD-2015-3226 No score
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.
- Record
EUVD-2015-3226- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c7m9-x5vw-4grr No score
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly...
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.
- Record
GHSA-c7m9-x5vw-4grr- Weakness
- CWE-119
- Updated
- 2026-11-02
OSVCURL-CVE-2015-3145 No score
cookie parser out of boundary memory access
libcurl supports HTTP "cookies" as documented in RFC 6265. Together with each individual cookie there are several different properties, but for this vulnerability we focus on the associated "path" element. It tells information about for which path on a given host the cookie is valid.
The internal libcurl function called sanitize_cookie_path() that cleans up
the path element as given to it from a remote site or when read from a file,
did not properly validate the input. If given a path that consisted of a
single double-quote, libcurl would index a newly allocated memory area with
index -1 and assign a zero to it, thus destroying heap memory it was not
supposed to.
At best, this gets unnoticed but can also lead to a crash or worse. We have not researched further what kind of malicious actions that potentially this could be used for.
Applications have to explicitly enable cookie parsing in libcurl for this problem to trigger, and if not enabled libcurl does not hit this problem.
- Record
CURL-CVE-2015-3145- Updated
- 2026-11-02
OSV No score
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.
- Record
CVE-2015-3145- Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2015-3145 No score
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.
- Record
DEBIAN-CVE-2015-3145- Updated
- 2026-11-02
OSVMGASA-2015-0179 No score
Updated curl packages fix security vulnerabilities
Updated curl packages fix security vulnerabilities:
NTLM-authenticated connections could be wrongly reused for requests without any credentials set, leading to HTTP requests being sent over the connection authenticated as a different user (CVE-2015-3143).
When parsing HTTP cookies, if the parsed cookie's "path" element consists of a single double-quote, libcurl would try to write to an invalid heap memory address. This could allow remote attackers to cause a denial of service (crash) (CVE-2015-3145).
When doing HTTP requests using the Negotiate authentication method along with NTLM, the connection used would not be marked as authenticated, making it possible to reuse it and send requests for one user over the connection authenticated as a different user (CVE-2015-3148).
- Record
MGASA-2015-0179- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10303-1 No score
curl-7.51.0-1.1 on GA media
These are all security issues fixed in the curl-7.51.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10303-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:0990-1 No score
Security update for curl
curl was updated to fix five security issues.
The following vulnerabilities were fixed:
- CVE-2015-3143: curl could re-use NTML authenticateds connections
- CVE-2015-3144: curl could access memory out of bounds with zero length host names
- CVE-2015-3145: curl cookie parser could access memory out of boundary
- CVE-2015-3148: curl could treat Negotiate as not connection-oriented
- CVE-2015-3153: curl could have sent sensitive HTTP headers also to proxies
- Record
SUSE-SU-2015:0990-1- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-3145 No score
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.
- Record
UBUNTU-CVE-2015-3145- Updated
- 2026-11-02
OSVUSN-2591-1 No score
curl vulnerabilities
Paras Sethia discovered that curl could incorrectly re-use NTLM HTTP credentials when subsequently connecting to the same host over HTTP. (CVE-2015-3143)
Hanno Böck discovered that curl incorrectly handled zero-length host names. If a user or automated system were tricked into using a specially crafted host name, an attacker could possibly use this issue to cause curl to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 14.10 and Ubuntu 15.04. (CVE-2015-3144)
Hanno Böck discovered that curl incorrectly handled cookie path elements. If a user or automated system were tricked into parsing a specially crafted cookie, an attacker could possibly use this issue to cause curl to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 14.10 and Ubuntu 15.04. (CVE-2015-3145)
Isaac Boukris discovered that when using Negotiate authenticated connections, curl could incorrectly authenticate the entire connection and not just specific HTTP requests. (CVE-2015-3148)
Yehezkel Horowitz and Oren Souroujon discovered that curl sent HTTP headers both to servers and proxies by default, contrary to expectations. This issue only affected Ubuntu 14.10 and Ubuntu 15.04. (CVE-2015-3153)
- Record
USN-2591-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
curlDebian:12 |
before 7.42.0-1 | 7.42.0-1 |
curlDebian:13 |
before 7.42.0-1 | 7.42.0-1 |
curlDebian:14 |
before 7.42.0-1 | 7.42.0-1 |
curlMageia:4 From an advisory covering 3 CVEs |
before 7.34.0-1.6.mga4 | 7.34.0-1.6.mga4 |
curlSUSE:Linux Enterprise Desktop 12 From an advisory covering 5 CVEs |
before 7.37.0-15.1 | 7.37.0-15.1 |
curlSUSE:Linux Enterprise Software Development Kit 12 From an advisory covering 5 CVEs |
before 7.37.0-15.1 | 7.37.0-15.1 |
curlSUSE:Linux Enterprise Server 12 From an advisory covering 5 CVEs |
before 7.37.0-15.1 | 7.37.0-15.1 |
curlSUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 5 CVEs |
before 7.37.0-15.1 | 7.37.0-15.1 |
curlUbuntu:14.04:LTS |
before 7.35.0-1ubuntu2.5, plus listed versions 7.32.0-1ubuntu17.33.0-1ubuntu17.34.0-1ubuntu17.35.0-1ubuntu17.35.0-1ubuntu27.35.0-1ubuntu2.17.35.0-1ubuntu2.27.35.0-1ubuntu2.3 |
7.35.0-1ubuntu2.5 |
curlUbuntu:14.04:LTS From an advisory covering 5 CVEs |
before 7.35.0-1ubuntu2.5, plus listed versions 7.32.0-1ubuntu17.33.0-1ubuntu17.34.0-1ubuntu17.35.0-1ubuntu17.35.0-1ubuntu27.35.0-1ubuntu2.17.35.0-1ubuntu2.27.35.0-1ubuntu2.3 |
7.35.0-1ubuntu2.5 |
curlopenSUSE:Tumbleweed From an advisory covering 32 CVEs |
before 7.51.0-1.1 | 7.51.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-3145 is a high vulnerability (CVSS 7.5) in Haxx Curl, published April 22, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 30.5%, the 98th percentile. Fixed in curl 7.42.0-1.
References
securityfocus.com/bid/74303
lists.fedoraproject.org/pipermail/package-announce/2015-May/157188.html
debian.org/security/2015/dsa-3232
curl.haxx.se/docs/adv_20150422C.html
lists.fedoraproject.org/pipermail/package-announce/2015-April/156250.html
mandriva.com/security/advisories?name=MDVSA-2015:219
Show 66 moreShow less
ubuntu.com/usn/USN-2591-1
securitytracker.com/id/1032232
lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
kb.juniper.net/InfoCenter/index?page=content&id=JSA10743
oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
lists.opensuse.org/opensuse-updates/2015-04/msg00057.html
advisories.mageia.org/MGASA-2015-0179.html
h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05045763
support.apple.com/kb/HT205031
security.gentoo.org/glsa/201509-02
lists.fedoraproject.org/pipermail/package-announce/2015-May/157017.html
lists.fedoraproject.org/pipermail/package-announce/2015-April/155957.html
lists.fedoraproject.org/pipermail/package-announce/2015-May/156945.html
nvd.nist.gov/vuln/detail/CVE-2015-3145
github.com/advisories/GHSA-c7m9-x5vw-4grr
security-tracker.debian.org/tracker/CVE-2015-3145
bugs.mageia.org/show_bug.cgi?id=15746
curl.haxx.se/docs/adv_20150422A.html
curl.haxx.se/docs/adv_20150422D.html
curl.haxx.se/docs/adv_20150422B.html
suse.com/support/update/announcement/2015/suse-su-20150990-1
bugzilla.suse.com/927556
bugzilla.suse.com/927607
bugzilla.suse.com/927608
bugzilla.suse.com/927746
bugzilla.suse.com/928533
suse.com/security/cve/CVE-2015-3143
suse.com/security/cve/CVE-2015-3144
suse.com/security/cve/CVE-2015-3145
suse.com/security/cve/CVE-2015-3148
suse.com/security/cve/CVE-2015-3153
ubuntu.com/security/CVE-2015-3145
ubuntu.com/security/notices/USN-2591-1
cve.org/CVERecord?id=CVE-2015-3145
ubuntu.com/security/CVE-2015-3143
ubuntu.com/security/CVE-2015-3144
ubuntu.com/security/CVE-2015-3148
ubuntu.com/security/CVE-2015-3153
suse.com/security/cve/CVE-2009-0037
suse.com/security/cve/CVE-2009-2417
suse.com/security/cve/CVE-2013-0249
suse.com/security/cve/CVE-2013-1944
suse.com/security/cve/CVE-2013-2174
suse.com/security/cve/CVE-2013-4545
suse.com/security/cve/CVE-2014-0015
suse.com/security/cve/CVE-2014-0138
suse.com/security/cve/CVE-2014-0139
suse.com/security/cve/CVE-2014-3613
suse.com/security/cve/CVE-2014-3620
suse.com/security/cve/CVE-2014-8150
suse.com/security/cve/CVE-2015-3236
suse.com/security/cve/CVE-2015-3237
suse.com/security/cve/CVE-2016-0755
suse.com/security/cve/CVE-2016-7167
suse.com/security/cve/CVE-2016-8615
suse.com/security/cve/CVE-2016-8616
suse.com/security/cve/CVE-2016-8617
suse.com/security/cve/CVE-2016-8618
suse.com/security/cve/CVE-2016-8619
suse.com/security/cve/CVE-2016-8620
suse.com/security/cve/CVE-2016-8621
suse.com/security/cve/CVE-2016-8622
suse.com/security/cve/CVE-2016-8623
suse.com/security/cve/CVE-2016-8624
suse.com/security/cve/CVE-2016-8625