Find a vulnerability
Search criteria
Related vulnerabilities
UBUNTU-CVE-2016-9586 (CVE-2016-9586)
Vulnerability from osv_ubuntu – Published: 2016-12-21 00:00 – Updated: 2026-11-24 09:41 – Source websitecurl before version 7.52.0 is vulnerable to a buffer overflow when doing a large floating point output in libcurl's implementation of the printf() functions. If there are any application that accepts a format string from the outside without necessary input filtering, it could allow remote attacks.
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:14.04:LTS |
curl
pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.11?arch=source&distro=trusty
|
Affected: < 7.35.0-1ubuntu2.11 (ecosystem)
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.37.35.0-1ubuntu2.57.35.0-1ubuntu2.6
and 4 more (see JSON)
|
| Ubuntu:16.04:LTS |
curl
pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.3?arch=source&distro=xenial
|
Affected: < 7.47.0-1ubuntu2.3 (ecosystem)
7.43.0-1ubuntu27.45.0-1ubuntu17.46.0-1ubuntu17.47.0-1ubuntu17.47.0-1ubuntu27.47.0-1ubuntu2.17.47.0-1ubuntu2.2
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.35.0-1ubuntu2.11"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.11?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.35.0-1ubuntu2.11"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.32.0-1ubuntu1",
"7.33.0-1ubuntu1",
"7.34.0-1ubuntu1",
"7.35.0-1ubuntu1",
"7.35.0-1ubuntu2",
"7.35.0-1ubuntu2.1",
"7.35.0-1ubuntu2.2",
"7.35.0-1ubuntu2.3",
"7.35.0-1ubuntu2.5",
"7.35.0-1ubuntu2.6",
"7.35.0-1ubuntu2.7",
"7.35.0-1ubuntu2.8",
"7.35.0-1ubuntu2.9",
"7.35.0-1ubuntu2.10"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.47.0-1ubuntu2.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.3?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.47.0-1ubuntu2.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.43.0-1ubuntu2",
"7.45.0-1ubuntu1",
"7.46.0-1ubuntu1",
"7.47.0-1ubuntu1",
"7.47.0-1ubuntu2",
"7.47.0-1ubuntu2.1",
"7.47.0-1ubuntu2.2"
]
}
],
"aliases": [],
"details": "curl before version 7.52.0 is vulnerable to a buffer overflow when doing a large floating point output in libcurl\u0027s implementation of the printf() functions. If there are any application that accepts a format string from the outside without necessary input filtering, it could allow remote attacks.",
"id": "UBUNTU-CVE-2016-9586",
"modified": "2026-11-24T09:41:23Z",
"published": "2016-12-21T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2016-9586"
},
{
"type": "REPORT",
"url": "https://curl.haxx.se/docs/adv_20161221A.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3441-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3441-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2016-9586"
}
],
"related": [
"USN-3441-1",
"USN-3441-2"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"source": "CNA",
"type": "CVSS_V3"
},
{
"score": "low",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2016-9586"
]
}
UBUNTU-CVE-2017-1000100 (CVE-2017-1000100)
Vulnerability from osv_ubuntu – Published: 2017-10-04 00:00 – Updated: 2026-11-24 09:42 – Source websiteWhen doing a TFTP transfer and curl/libcurl is given a URL that contains a very long file name (longer than about 515 bytes), the file name is truncated to fit within the buffer boundaries, but the buffer size is still wrongly updated to use the untruncated length. This too large value is then used in the sendto() call, making curl attempt to send more data than what is actually put into the buffer. The endto() function will then read beyond the end of the heap based buffer. A malicious HTTP(S) server could redirect a vulnerable libcurl-using client to a crafted TFTP URL (if the client hasn't restricted which protocols it allows redirects to) and trick it to send private memory contents to a remote server over UDP. Limit curl's redirect protocols with --proto-redir and libcurl's with CURLOPT_REDIR_PROTOCOLS.
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:14.04:LTS |
curl
pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.11?arch=source&distro=trusty
|
Affected: < 7.35.0-1ubuntu2.11 (ecosystem)
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.37.35.0-1ubuntu2.57.35.0-1ubuntu2.6
and 4 more (see JSON)
|
| Ubuntu:16.04:LTS |
curl
pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.3?arch=source&distro=xenial
|
Affected: < 7.47.0-1ubuntu2.3 (ecosystem)
7.43.0-1ubuntu27.45.0-1ubuntu17.46.0-1ubuntu17.47.0-1ubuntu17.47.0-1ubuntu27.47.0-1ubuntu2.17.47.0-1ubuntu2.2
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.35.0-1ubuntu2.11"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.11?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.35.0-1ubuntu2.11"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.32.0-1ubuntu1",
"7.33.0-1ubuntu1",
"7.34.0-1ubuntu1",
"7.35.0-1ubuntu1",
"7.35.0-1ubuntu2",
"7.35.0-1ubuntu2.1",
"7.35.0-1ubuntu2.2",
"7.35.0-1ubuntu2.3",
"7.35.0-1ubuntu2.5",
"7.35.0-1ubuntu2.6",
"7.35.0-1ubuntu2.7",
"7.35.0-1ubuntu2.8",
"7.35.0-1ubuntu2.9",
"7.35.0-1ubuntu2.10"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.47.0-1ubuntu2.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.3?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.47.0-1ubuntu2.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.43.0-1ubuntu2",
"7.45.0-1ubuntu1",
"7.46.0-1ubuntu1",
"7.47.0-1ubuntu1",
"7.47.0-1ubuntu2",
"7.47.0-1ubuntu2.1",
"7.47.0-1ubuntu2.2"
]
}
],
"aliases": [],
"details": "When doing a TFTP transfer and curl/libcurl is given a URL that contains a very long file name (longer than about 515 bytes), the file name is truncated to fit within the buffer boundaries, but the buffer size is still wrongly updated to use the untruncated length. This too large value is then used in the sendto() call, making curl attempt to send more data than what is actually put into the buffer. The endto() function will then read beyond the end of the heap based buffer. A malicious HTTP(S) server could redirect a vulnerable libcurl-using client to a crafted TFTP URL (if the client hasn\u0027t restricted which protocols it allows redirects to) and trick it to send private memory contents to a remote server over UDP. Limit curl\u0027s redirect protocols with --proto-redir and libcurl\u0027s with CURLOPT_REDIR_PROTOCOLS.",
"id": "UBUNTU-CVE-2017-1000100",
"modified": "2026-11-24T09:42:09Z",
"published": "2017-10-04T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2017-1000100"
},
{
"type": "REPORT",
"url": "https://curl.haxx.se/docs/adv_20170809B.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3441-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3441-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-1000100"
}
],
"related": [
"USN-3441-1",
"USN-3441-2"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "low",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2017-1000100"
]
}
UBUNTU-CVE-2017-1000254 (CVE-2017-1000254)
Vulnerability from osv_ubuntu – Published: 2017-10-04 00:00 – Updated: 2026-11-24 09:42 – Source websitelibcurl may read outside of a heap allocated buffer when doing FTP. When libcurl connects to an FTP server and successfully logs in (anonymous or not), it asks the server for the current directory with the PWD command. The server then responds with a 257 response containing the path, inside double quotes. The returned path name is then kept by libcurl for subsequent uses. Due to a flaw in the string parser for this directory name, a directory name passed like this but without a closing double quote would lead to libcurl not adding a trailing NUL byte to the buffer holding the name. When libcurl would then later access the string, it could read beyond the allocated heap buffer and crash or wrongly access data beyond the buffer, thinking it was part of the path. A malicious server could abuse this fact and effectively prevent libcurl-based clients to work with it - the PWD command is always issued on new FTP connections and the mistake has a high chance of causing a segfault. The simple fact that this has issue remained undiscovered for this long could suggest that malformed PWD responses are rare in benign servers. We are not aware of any exploit of this flaw. This bug was introduced in commit 415d2e7cb7, March 2005. In libcurl version 7.56.0, the parser always zero terminates the string but also rejects it if not terminated properly with a final double quote.
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:14.04:LTS |
curl
pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.11?arch=source&distro=trusty
|
Affected: < 7.35.0-1ubuntu2.11 (ecosystem)
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.37.35.0-1ubuntu2.57.35.0-1ubuntu2.6
and 4 more (see JSON)
|
| Ubuntu:16.04:LTS |
curl
pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.3?arch=source&distro=xenial
|
Affected: < 7.47.0-1ubuntu2.3 (ecosystem)
7.43.0-1ubuntu27.45.0-1ubuntu17.46.0-1ubuntu17.47.0-1ubuntu17.47.0-1ubuntu27.47.0-1ubuntu2.17.47.0-1ubuntu2.2
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.35.0-1ubuntu2.11"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.11?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.35.0-1ubuntu2.11"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.32.0-1ubuntu1",
"7.33.0-1ubuntu1",
"7.34.0-1ubuntu1",
"7.35.0-1ubuntu1",
"7.35.0-1ubuntu2",
"7.35.0-1ubuntu2.1",
"7.35.0-1ubuntu2.2",
"7.35.0-1ubuntu2.3",
"7.35.0-1ubuntu2.5",
"7.35.0-1ubuntu2.6",
"7.35.0-1ubuntu2.7",
"7.35.0-1ubuntu2.8",
"7.35.0-1ubuntu2.9",
"7.35.0-1ubuntu2.10"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.47.0-1ubuntu2.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.3?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.47.0-1ubuntu2.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.43.0-1ubuntu2",
"7.45.0-1ubuntu1",
"7.46.0-1ubuntu1",
"7.47.0-1ubuntu1",
"7.47.0-1ubuntu2",
"7.47.0-1ubuntu2.1",
"7.47.0-1ubuntu2.2"
]
}
],
"aliases": [],
"details": "libcurl may read outside of a heap allocated buffer when doing FTP. When libcurl connects to an FTP server and successfully logs in (anonymous or not), it asks the server for the current directory with the `PWD` command. The server then responds with a 257 response containing the path, inside double quotes. The returned path name is then kept by libcurl for subsequent uses. Due to a flaw in the string parser for this directory name, a directory name passed like this but without a closing double quote would lead to libcurl not adding a trailing NUL byte to the buffer holding the name. When libcurl would then later access the string, it could read beyond the allocated heap buffer and crash or wrongly access data beyond the buffer, thinking it was part of the path. A malicious server could abuse this fact and effectively prevent libcurl-based clients to work with it - the PWD command is always issued on new FTP connections and the mistake has a high chance of causing a segfault. The simple fact that this has issue remained undiscovered for this long could suggest that malformed PWD responses are rare in benign servers. We are not aware of any exploit of this flaw. This bug was introduced in commit [415d2e7cb7](https://github.com/curl/curl/commit/415d2e7cb7), March 2005. In libcurl version 7.56.0, the parser always zero terminates the string but also rejects it if not terminated properly with a final double quote.",
"id": "UBUNTU-CVE-2017-1000254",
"modified": "2026-11-24T09:42:10Z",
"published": "2017-10-04T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2017-1000254"
},
{
"type": "REPORT",
"url": "https://curl.haxx.se/docs/adv_20171004.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3441-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3441-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-1000254"
}
],
"related": [
"USN-3441-1",
"USN-3441-2"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2017-1000254"
]
}
UBUNTU-CVE-2017-1000257 (CVE-2017-1000257)
Vulnerability from osv_ubuntu – Published: 2017-10-23 00:00 – Updated: 2026-11-24 09:42 – Source websiteAn IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that (non-existing) data with a pointer and the size (zero) to the deliver-data function. libcurl's deliver-data function treats zero as a magic number and invokes strlen() on the data to figure out the length. The strlen() is called on a heap based buffer that might not be zero terminated so libcurl might read beyond the end of it into whatever memory lies after (or just crash) and then deliver that to the application as if it was actually downloaded.
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:14.04:LTS |
curl
pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.12?arch=source&distro=trusty
|
Affected: < 7.35.0-1ubuntu2.12 (ecosystem)
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.37.35.0-1ubuntu2.57.35.0-1ubuntu2.6
and 5 more (see JSON)
|
| Ubuntu:16.04:LTS |
curl
pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.4?arch=source&distro=xenial
|
Affected: < 7.47.0-1ubuntu2.4 (ecosystem)
7.43.0-1ubuntu27.45.0-1ubuntu17.46.0-1ubuntu17.47.0-1ubuntu17.47.0-1ubuntu27.47.0-1ubuntu2.17.47.0-1ubuntu2.27.47.0-1ubuntu2.3
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.35.0-1ubuntu2.12"
},
{
"binary_name": "libcurl3",
"binary_version": "7.35.0-1ubuntu2.12"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.35.0-1ubuntu2.12"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.35.0-1ubuntu2.12"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.12?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.35.0-1ubuntu2.12"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.32.0-1ubuntu1",
"7.33.0-1ubuntu1",
"7.34.0-1ubuntu1",
"7.35.0-1ubuntu1",
"7.35.0-1ubuntu2",
"7.35.0-1ubuntu2.1",
"7.35.0-1ubuntu2.2",
"7.35.0-1ubuntu2.3",
"7.35.0-1ubuntu2.5",
"7.35.0-1ubuntu2.6",
"7.35.0-1ubuntu2.7",
"7.35.0-1ubuntu2.8",
"7.35.0-1ubuntu2.9",
"7.35.0-1ubuntu2.10",
"7.35.0-1ubuntu2.11"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.47.0-1ubuntu2.4"
},
{
"binary_name": "libcurl3",
"binary_version": "7.47.0-1ubuntu2.4"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.47.0-1ubuntu2.4"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.47.0-1ubuntu2.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.47.0-1ubuntu2.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.43.0-1ubuntu2",
"7.45.0-1ubuntu1",
"7.46.0-1ubuntu1",
"7.47.0-1ubuntu1",
"7.47.0-1ubuntu2",
"7.47.0-1ubuntu2.1",
"7.47.0-1ubuntu2.2",
"7.47.0-1ubuntu2.3"
]
}
],
"aliases": [],
"details": "An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that (non-existing) data with a pointer and the size (zero) to the deliver-data function. libcurl\u0027s deliver-data function treats zero as a magic number and invokes strlen() on the data to figure out the length. The strlen() is called on a heap based buffer that might not be zero terminated so libcurl might read beyond the end of it into whatever memory lies after (or just crash) and then deliver that to the application as if it was actually downloaded.",
"id": "UBUNTU-CVE-2017-1000257",
"modified": "2026-11-24T09:42:10Z",
"published": "2017-10-23T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2017-1000257"
},
{
"type": "REPORT",
"url": "https://curl.haxx.se/docs/adv_20171023.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3457-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3441-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-1000257"
}
],
"related": [
"USN-3457-1",
"USN-3441-2"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2017-1000257"
]
}
UBUNTU-CVE-2017-7407 (CVE-2017-7407)
Vulnerability from osv_ubuntu – Published: 2017-04-03 00:00 – Updated: 2026-11-24 09:41 – Source websiteThe ourWriteOut function in tool_writeout.c in curl 7.53.1 might allow physically proximate attackers to obtain sensitive information from process memory in opportunistic circumstances by reading a workstation screen during use of a --write-out argument ending in a '%' character, which leads to a heap-based buffer over-read.
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:14.04:LTS |
curl
pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.11?arch=source&distro=trusty
|
Affected: < 7.35.0-1ubuntu2.11 (ecosystem)
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.37.35.0-1ubuntu2.57.35.0-1ubuntu2.6
and 4 more (see JSON)
|
| Ubuntu:16.04:LTS |
curl
pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.3?arch=source&distro=xenial
|
Affected: < 7.47.0-1ubuntu2.3 (ecosystem)
7.43.0-1ubuntu27.45.0-1ubuntu17.46.0-1ubuntu17.47.0-1ubuntu17.47.0-1ubuntu27.47.0-1ubuntu2.17.47.0-1ubuntu2.2
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.35.0-1ubuntu2.11"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.35.0-1ubuntu2.11"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.11?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.35.0-1ubuntu2.11"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.32.0-1ubuntu1",
"7.33.0-1ubuntu1",
"7.34.0-1ubuntu1",
"7.35.0-1ubuntu1",
"7.35.0-1ubuntu2",
"7.35.0-1ubuntu2.1",
"7.35.0-1ubuntu2.2",
"7.35.0-1ubuntu2.3",
"7.35.0-1ubuntu2.5",
"7.35.0-1ubuntu2.6",
"7.35.0-1ubuntu2.7",
"7.35.0-1ubuntu2.8",
"7.35.0-1ubuntu2.9",
"7.35.0-1ubuntu2.10"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.47.0-1ubuntu2.3"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.47.0-1ubuntu2.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.3?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.47.0-1ubuntu2.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.43.0-1ubuntu2",
"7.45.0-1ubuntu1",
"7.46.0-1ubuntu1",
"7.47.0-1ubuntu1",
"7.47.0-1ubuntu2",
"7.47.0-1ubuntu2.1",
"7.47.0-1ubuntu2.2"
]
}
],
"aliases": [],
"details": "The ourWriteOut function in tool_writeout.c in curl 7.53.1 might allow physically proximate attackers to obtain sensitive information from process memory in opportunistic circumstances by reading a workstation screen during use of a --write-out argument ending in a \u0027%\u0027 character, which leads to a heap-based buffer over-read.",
"id": "UBUNTU-CVE-2017-7407",
"modified": "2026-11-24T09:41:40Z",
"published": "2017-04-03T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2017-7407"
},
{
"type": "REPORT",
"url": "https://curl.haxx.se/docs/adv_20170403.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3441-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3441-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-7407"
}
],
"related": [
"USN-3441-1",
"USN-3441-2"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "negligible",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2017-7407"
]
}