Every CVE Search/ Get API key

CVE-2015-3145

The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly...

7.5 HighFix available

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

30.5%Up 26.1 points since Feb 4, 2022
90%50%10%1%

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 HighAV: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

Affected packages
PackageAffectedFixed
curl
Debian:12
before 7.42.0-1
7.42.0-1
curl
Debian:13
before 7.42.0-1
7.42.0-1
curl
Debian:14
before 7.42.0-1
7.42.0-1
curl
Mageia:4
From an advisory covering 3 CVEs
before 7.34.0-1.6.mga4
7.34.0-1.6.mga4
curl
SUSE:Linux Enterprise Desktop 12
From an advisory covering 5 CVEs
before 7.37.0-15.1
7.37.0-15.1
curl
SUSE:Linux Enterprise Software Development Kit 12
From an advisory covering 5 CVEs
before 7.37.0-15.1
7.37.0-15.1
curl
SUSE:Linux Enterprise Server 12
From an advisory covering 5 CVEs
before 7.37.0-15.1
7.37.0-15.1
curl
SUSE:Linux Enterprise Server for SAP Applications 12
From an advisory covering 5 CVEs
before 7.37.0-15.1
7.37.0-15.1
curl
Ubuntu: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
curl
Ubuntu: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
curl
openSUSE:Tumbleweed
From an advisory covering 32 CVEs
before 7.51.0-1.1
7.51.0-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 66 moreShow less
MoveEnter Open