Critical Memory Disclosure Vulnerability in curl Package

curl Updated 02 Oct 2025

Summary

05/10/2017
N/A
Yes i
Medium
6.5

ALPINE-CVE-2017-1000099: When asking to get a file from a file:// URL, libcurl provides a feature that outputs meta-data about the file using HTTP-like headers. Affects curl versions < 7.55.0-r0. Fixed in 7.55.0-r0. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The curl package is a widely used command-line tool and library for transferring data with URLs. It supports various protocols including HTTP, HTTPS, FTP, and more, making it essential for web applications and services. This package is known for its versatility and ease of use, but it has been found to have a significant vulnerability that could expose sensitive data.

Vulnerability Detail

The vulnerability, identified as CVE-2017-1000099, arises when curl is tasked with retrieving a file from a file:// URL. In this scenario, curl outputs metadata about the file using HTTP-like headers. However, due to a coding error, it sends an incorrect buffer to the user, which may contain uninitialized memory data from the heap. If this memory area does not contain a zero byte, it could inadvertently display sensitive information, leading to potential data leaks. This vulnerability has a CVSS score of 6.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

7.55.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade curl

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

Workaround

As a temporary workaround, avoid using curl to access file:// URLs until the package has been updated to the patched version. Alternatively, consider using other methods to access files that do not involve curl.

Conclusion

The curl package is an essential tool for data transfer, but it is crucial to address the CVE-2017-1000099 vulnerability to prevent potential data leaks. Updating to the patched version 7.55.0-r0 is necessary to secure your applications. Utilize tools like Vulert to monitor and manage vulnerabilities effectively.

See every vulnerability recorded for curl →

Share this vulnerability

FAQ

CVE-2017-1000099 is a vulnerability in the curl package that can lead to the disclosure of sensitive data due to incorrect handling of memory buffers.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The primary risk is the unintended disclosure of sensitive information from memory, which could be exploited by attackers to gain access to private data.

Yes, you can temporarily avoid using curl for file:// URLs until the package is updated to the patched version.

The CVSS score of this vulnerability is 6.5, indicating a moderate level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for curl.

How To Fix

Minimum fixed version

7.55.0-r0

This is the first release that contains the fix.

sudo apk add --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