Home / Haxx / Libcurl / CVE-2017-1000254
CVE-2017-1000254: is it exploited, and which versions of Haxx Libcurl are affected and fixed?
CVE-2017-1000254 is a memory corruption (buffer overflow) vulnerability in Haxx Libcurl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: libcurl 7.7, libcurl 7.7.1, libcurl 7.7.2 and 37 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:38 UTC.
What is CVE-2017-1000254?
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.
From the CVE record by mitre, last updated August 5, 2024, 22:00 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| haxx | libcurl | 7.7 | application |
| haxx | libcurl | 7.7.1 | application |
| haxx | libcurl | 7.7.2 | application |
| haxx | libcurl | 7.7.3 | application |
| haxx | libcurl | 7.8 | application |
| haxx | libcurl | 7.8.1 | application |
| haxx | libcurl | 7.9 | application |
| haxx | libcurl | 7.9.1 | application |
| haxx | libcurl | 7.9.2 | application |
| haxx | libcurl | 7.9.3 | application |
| haxx | libcurl | 7.9.4 | application |
| haxx | libcurl | 7.9.5 | application |
| haxx | libcurl | 7.9.6 | application |
| haxx | libcurl | 7.9.7 | application |
| haxx | libcurl | 7.9.8 | application |
| haxx | libcurl | 7.10 | application |
| haxx | libcurl | 7.10.1 | application |
| haxx | libcurl | 7.10.2 | application |
| haxx | libcurl | 7.10.3 | application |
| haxx | libcurl | 7.10.4 | application |
| haxx | libcurl | 7.10.5 | application |
| haxx | libcurl | 7.10.6 | application |
| haxx | libcurl | 7.10.7 | application |
| haxx | libcurl | 7.10.8 | application |
| haxx | libcurl | 7.11.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:58 UTC.
How severe is CVE-2017-1000254?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-1000254 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.14% probability of exploitation activity in the next 30 days, percentile 95.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- GLSA-201712-04 vendor-advisory, x_refsource_GENTOO
- RHSA-2018:3558 vendor-advisory, x_refsource_REDHAT
- https://support.apple.com/HT208331 x_refsource_CONFIRM
- 1039509 vdb-entry, x_refsource_SECTRACK
- https://curl.haxx.se/673d0cd8.patch x_refsource_CONFIRM
- https://curl.haxx.se/docs/adv_20171004.html x_refsource_CONFIRM
- RHSA-2018:2486 vendor-advisory, x_refsource_REDHAT
- DSA-3992 vendor-advisory, x_refsource_DEBIAN
- 101115 vdb-entry, x_refsource_BID
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- October 6, 2017
- Published
- October 6, 2017, 13:00 UTC
- CVE record updated
- August 5, 2024, 22:00 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:58 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:38 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libcurl?
- Jan 24, 2018CVE-2018-1000005 Haxx Libcurl: out-of-bounds read
- Oct 31, 2017CVE-2017-1000257 Haxx Libcurl: memory corruption (buffer overflow)
- Oct 4, 2017CVE-2017-1000100 Haxx Libcurl: information disclosure
- Oct 4, 2017CVE-2017-1000099 Haxx Libcurl: information disclosure
- Oct 7, 2016CVE-2016-7167 Fedoraproject Fedora: integer overflow
- Oct 3, 2016CVE-2016-7141 Opensuse Leap: authentication bypass (improper authentication)
- Aug 10, 2016CVE-2016-5421 Opensuse Leap: use after free
- Aug 10, 2016CVE-2016-5420 Debian Linux: improper authorization
Questions about CVE-2017-1000254
Is CVE-2017-1000254 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 8.14% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Haxx Libcurl are affected by CVE-2017-1000254?
libcurl 7.7, libcurl 7.7.1, libcurl 7.7.2, libcurl 7.7.3, libcurl 7.8, libcurl 7.8.1 and 34 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2017-1000254?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2017-1000254?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-1000254?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.