CVE-2015-3144
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe fix_hostname function in cURL and libcurl 7.37.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds read or write and crash) or possibly have other unspecified impact via a zero-length host name, as demonstrated by "http://:80" and ":80."
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe fix_hostname function in cURL and libcurl 7.37.0 through 7.41.0 contains an improper index calculation flaw when processing zero-length hostnames (e.g., 'http://:80' or ':80'), allowing remote attackers to trigger out-of-bounds read/write operations leading to denial of service or potentially other unspecified impact.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 7.37.0= 7.37.1= 7.38.0= 7.39.0= 7.40.0= 7.41.0= 12.04= 14.04= 14.10= 15.04= 7.0<= 2.3.20<= 3.0.22= 7.37.0= 7.37.1= 7.38.0= 7.39= 7.40.0= 7.41.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Authentication
- Single
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:L/Au:S/C:C/I:C/A:C
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check curl command-line tool versionRun 'curl --version' and note the version number in the output (e.g., 7.40.0)Affected if The version shown is 7.37.0, 7.37.1, 7.38.0, 7.39.0, 7.40.0, or 7.41.0
-
Check libcurl library versionRun 'ldd /usr/bin/curl 2>/dev/null | grep libcurl' or check your system's libcurl.so version via 'pkg-config --modversion libcurl'Affected if The linked libcurl library version is 7.37.0 through 7.41.0 inclusive
-
Compare installed versions to affected rangeIf you found a version number, verify it falls within 7.37.0 <= version <= 7.41.0Affected if The installed version is any release from 7.37.0 to 7.41.0 inclusive
-
Identify applications using vulnerable libcurlReview application dependencies or binaries that link against libcurl (e.g., via 'ldd <binary>' or checking package manifests)Affected if Any application using a libcurl library version in the affected range
You are affected if curl, libcurl, or any application using libcurl in your environment has a version between 7.37.0 and 7.41.0 inclusive.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade cURL and libcurl to version 7.42.0 or later to obtain the patched fix_hostname function that properly handles zero-length hostnames.
curl/libcurl 7.42.0 or later (or distribution-provided security update packages)
- 1. Identify the current curl and libcurl versions installed using: curl --version and dpkg -l | grep curl or rpm -qa | grep curl
- 2. For Debian/Ubuntu systems: Run sudo apt-get update && sudo apt-get upgrade curl libcurl to apply available security updates
- 3. For systems with manually compiled curl: Download curl 7.42.0 or later from curl.haxx.se/download.html
- 4. Verify the upgrade was successful by running curl --version again
- 5. For embedded applications using libcurl: Rebuild against the new libcurl version to ensure the vulnerable library is replaced
- 6. Test that applications relying on curl functionality work correctly after the upgrade
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,128.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2015-3144 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- curl.haxx.se
- kb.juniper.net
- lists.apple.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.opensuse.org
- www.debian.org
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.securityfocus.com
- www.securitytracker.com
- www.ubuntu.com
- security.gentoo.org
- support.apple.com
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2015-3144 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data