---
title: "CVE-2017-9502\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2017-9502?format=md
keywords: index, follow
---

# CVE-2017-9502

Publication date 14 June 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.3 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2017-9502?format=md#impact-score)

Toggle side navigation

## Description

In curl before 7.54.1 on Windows and DOS, libcurl's default protocol
function, which is the logic that allows an application to set which
protocol libcurl should attempt to use when given a URL without a scheme
part, had a flaw that could lead to it overwriting a heap based memory
buffer with seven bytes. If the default protocol is specified to be FILE or
a file: URL lacks two slashes, the given "URL" starts with a drive letter,
and libcurl is built for Windows or DOS, then libcurl would copy the path 7
bytes off, so that the end of the given path would write beyond the malloc
buffer (7 bytes being the length in bytes of the ascii string "file://").

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| curl | 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | Low |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9502)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-9502)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-9502)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-9502)

### Other references

* <http://openwall.com/lists/oss-security/2017/06/14/1>
* <https://curl.haxx.se/docs/adv_20170614.html>
* <https://www.cve.org/CVERecord?id=CVE-2017-9502>
