CVE-2017-8817 - Read Out of Bounds Flaw in FTP Wildcard Function in libcurl

curl Updated 02 Oct 2025

Summary

30/11/2017
N/A
Yes i
Unrated
Not published

DLA-1195-1: curl - security update. Affects curl versions < 7.26.0-1+wheezy23. Fixed in 7.26.0-1+wheezy23. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package under scrutiny is curl, a command-line tool and library for transferring data with URLs. It supports various protocols, including HTTP, FTP, and SMTP. libcurl is a client-side URL transfer library used by curl. It provides functions for performing network operations and supports a wide range of features and options. However, a vulnerability has been discovered in the FTP wildcard function of libcurl.

Vulnerability Detail

The vulnerability, identified as CVE-2017-8817, was discovered through fuzzing by the OSS-Fuzz project. It involves a read out of bounds flaw in the FTP wildcard function of libcurl. If a malicious server redirects a libcurl-based client to a URL using a wildcard pattern, it can trigger an out-of-bound read. This could potentially lead to information disclosure or other security issues. The vulnerability affects the Debian 7 Wheezy distribution of curl.

How To Fix

Minimum fixed version

7.26.0-1+wheezy23

This is the first release that contains the fix.

sudo apt-get install --only-upgrade curl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

In conclusion, the CVE-2017-8817 vulnerability in curl's FTP wildcard function could allow a malicious server to trigger an out-of-bound read. It is recommended to upgrade the curl package to version 7.26.0-1+wheezy23 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for curl →

Share this vulnerability

FAQ

The vulnerability could allow a malicious server to read out of bounds, potentially leading to information disclosure or other security issues.

The vulnerability affects curl version 7.26.0-1+wheezy23 and earlier in the Debian 7 Wheezy distribution.

The vulnerability was discovered through fuzzing by the OSS-Fuzz project.

Yes, the vulnerability has been fixed in curl version 7.26.0-1+wheezy23 or later.

You can upgrade your curl package by using the package manager or by manually downloading and installing the updated version from the official Debian repository.

Related vulnerabilities

Recent vulnerabilities recorded for curl.

How To Fix

Minimum fixed version

7.26.0-1+wheezy23

This is the first release that contains the fix.

sudo apt-get install --only-upgrade curl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback