Gentoo Logo

cURL/libcurl: Buffer overflow in the handling of TFTP URLs


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200603-19 / curl
Release Date March 21, 2006
Latest Revision March 21, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-misc/curl < 7.15.3 revision >= 7.15.1-r1, >= 7.15.3, <= 7.14.1 All supported architectures

Related bugreports: #125766


libcurl is affected by a buffer overflow in the handling of URLs for the TFTP protocol, which could be exploited to compromise a user's system.

2.  Impact Information


cURL is a command line tool for transferring files with URL syntax, supporting numerous protocols. libcurl is the corresponding client-side library.


Ulf Harnhammar reported a possible buffer overflow in the handling of TFTP URLs in libcurl due to the lack of boundary checks.


An attacker could exploit this vulnerability to compromise a user's system by enticing the user to request a malicious URL with cURL/libcurl or to use a HTTP server redirecting to a malicious TFTP URL.

3.  Resolution Information


There is no known workaround at this time.


All cURL users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/curl-7.15.1-r1"

4.  References


Page updated March 21, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.