Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2017-1000254
haxx libcurl

Score7.5 High
CVSS 3.0
Exploit probability (EPSS)8.1%
within the next 30 days
CategoryMemory corruption
Published6 October 2017
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

Weakness type: Buffer bounds violation.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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.

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

Weakness: CWE-119 – Buffer bounds violation

Affected products

VendorProductVersions
haxxlibcurl7.7
haxxlibcurl7.7.1
haxxlibcurl7.7.2
haxxlibcurl7.7.3
haxxlibcurl7.8
haxxlibcurl7.8.1
haxxlibcurl7.9
haxxlibcurl7.9.1
haxxlibcurl7.9.2
haxxlibcurl7.9.3
haxxlibcurl7.9.4
haxxlibcurl7.9.5
haxxlibcurl7.9.6
haxxlibcurl7.9.7
haxxlibcurl7.9.8
haxxlibcurl7.10
haxxlibcurl7.10.1
haxxlibcurl7.10.2
haxxlibcurl7.10.3
haxxlibcurl7.10.4
haxxlibcurl7.10.5
haxxlibcurl7.10.6
haxxlibcurl7.10.7
haxxlibcurl7.10.8
haxxlibcurl7.11.0
haxxlibcurl7.11.1
haxxlibcurl7.11.2
haxxlibcurl7.12.0
haxxlibcurl7.12.1
haxxlibcurl7.12.2

Sources

Latest in the same category

  • CVE-2026-140121 Medium 6.8
    GPAC through 26.07.0 contains a NULL pointer dereference vulnerability in mp4_mux_cenc_update() in src/filters/mux_isom.c that allows attackers to crash the process. Attackers can supply a crafted MP4 file with…
    Memory corruption · 1 December 2026
  • CVE-2026-104931 Medium 4.6
    Since the control-transfer rework in the device_next USB device stack, usbd_handle_ctrl_xfer() in subsys/usb/device_next/usbd_ch9.c calls a class's control_to_dev handler with a NULL buffer when a host-to-device…
    Memory corruption · 1 December 2026
  • CVE-2026-140037 High 7.1
    GPAC through 26.07.0 contains a stack-based buffer overflow in SDP_IsDynamicPayload() in src/ietf/sdp.c that allows attackers to overflow a 10-byte stack buffer via out-of-range rtpmap payload types. Attackers can…
    Memory corruption · 30 November 2026
  • CVE-2026-140036 Medium 6.8
    GPAC through 26.07.0 contains a NULL pointer dereference vulnerability in gf_scene_ns_new() in src/compositor/scene_ns.c that passes unchecked gf_url_concatenate() results to strchr(). Attackers can supply a crafted…
    Memory corruption · 30 November 2026
  • CVE-2026-140035 Medium 6.8
    Fraunhofer HHI VVdeC 3.3.0 contains a NULL pointer dereference vulnerability in Picture::getSubPicBuf() that allows attackers to crash the decoder via broken reference pictures. Attackers can supply a crafted…
    Memory corruption · 30 November 2026
  • CVE-2026-140034 Medium 6.8
    Fraunhofer HHI VVdeC 3.3.0 contains a NULL pointer dereference vulnerability in DecLibParser::xDecodeSliceHead() that allows attackers to crash the decoder by supplying crafted VVC bitstreams. Attackers can leave a…
    Memory corruption · 30 November 2026