Critical Vulnerability in cURL: Wildcard IP Address Spoofing Risk

curl Updated 02 Oct 2025

Summary

15/04/2014
N/A
Yes i
Unrated
Not published

ALPINE-CVE-2014-0139: cURL and libcurl 7.1 before 7.36.0, when using the OpenSSL, axtls, qsossl or gskit libraries for TLS, recognize a wildcard IP address in the subject's Common Name (CN) field of an X.509 certificate, which might allow man... Affects curl versions < 7.36.0-r0. Fixed in 7.36.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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

cURL 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 communication. cURL is often integrated into applications for handling data transfers securely. However, certain versions of cURL are vulnerable to a security flaw that allows attackers to exploit wildcard IP addresses in SSL certificates, potentially leading to man-in-the-middle attacks.

Vulnerability Detail

The vulnerability, identified as CVE-2014-0139, affects cURL and libcurl versions prior to 7.36.0 when using OpenSSL, axtls, qsossl, or gskit libraries for TLS. It allows attackers to spoof arbitrary SSL servers by presenting a crafted certificate issued by a legitimate Certification Authority. This could lead to unauthorized access to sensitive data and compromise the integrity of secure communications.

How To Fix

Minimum fixed version

7.36.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 versions that are vulnerable to this issue until you can update to a patched version. Additionally, consider using alternative libraries or tools that do not exhibit this vulnerability.

Conclusion

The CVE-2014-0139 vulnerability in cURL poses a significant risk by allowing attackers to spoof SSL servers. It is crucial for users to update to the patched version to safeguard their applications from potential exploits. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for curl →

Share this vulnerability

FAQ

CVE-2014-0139 is a vulnerability in cURL and libcurl that allows attackers to spoof SSL servers using wildcard IP addresses in certificates.

cURL versions prior to 7.36.0 are affected by this vulnerability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

The vulnerability can lead to man-in-the-middle attacks, where attackers can intercept and manipulate secure communications.

Yes, the patch is available in cURL version 7.36.0 and later. Updating to this version will resolve the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for curl.

How To Fix

Minimum fixed version

7.36.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