cURL - Embedded End-of-Line Characters Vulnerability

curl Updated 02 Oct 2025

Summary

08/01/2015
N/A
Yes i
Unrated
Not published

DSA-3122-1: curl - security update. Affects curl versions < 7.26.0-1+wheezy12. Fixed in 7.26.0-1+wheezy12. 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

cURL is an URL transfer library that allows applications to transfer data using various protocols, including HTTP, FTP, and SMTP. It provides a simple and efficient way to send and receive data over the internet. However, a vulnerability has been discovered in cURL that allows attackers to manipulate URLs with embedded end-of-line characters. This vulnerability can be exploited by an attacker to perform unintended requests or inject additional request headers.

Vulnerability Detail

The vulnerability in cURL arises from its failure to handle URLs with embedded end-of-line characters properly. When an application using libcurl attempts to access a specially crafted URL containing such characters via an HTTP proxy, the flaw can be exploited. This allows an attacker to perform additional requests or insert unauthorized request headers into the request. The impact of this vulnerability can range from unauthorized data access to potential remote code execution, depending on the specific application and its usage of cURL.

How To Fix

Minimum fixed version

7.26.0-1+wheezy12

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 known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading the curl package to the patched version.

Conclusion

The embedded end-of-line characters vulnerability in cURL can be exploited by attackers to perform unauthorized requests or inject unauthorized request headers. To mitigate this risk, it is crucial to upgrade the curl package to the patched version. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for curl →

Share this vulnerability

FAQ

cURL is an URL transfer library that allows applications to transfer data using various protocols, such as HTTP, FTP, and SMTP.

The impact of this vulnerability can range from unauthorized data access to potential remote code execution, depending on the specific application and its usage of cURL.

An attacker can exploit this vulnerability by crafting a URL with embedded end-of-line characters and tricking an application using libcurl to access it via an HTTP proxy. This allows the attacker to perform additional requests or inject unauthorized request headers.

No, there is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading the curl package to the patched version.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

Related vulnerabilities

Recent vulnerabilities recorded for curl.

How To Fix

Minimum fixed version

7.26.0-1+wheezy12

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