Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-DD343A2B-7EE7-11E9-A290-8DDC52868FA9 (CVE-2019-5435): curl -- multiple vulnerabilities

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-DD343A2B-7EE7-11E9-A290-8DDC52868FA9 (CVE-2019-5435): curl -- multiple vulnerabilities



Details for this vulnerability have not been published by NIST at this point. Descriptions from software vendor advisories for this issue are provided below.

From VID-DD343A2B-7EE7-11E9-A290-8DDC52868FA9:

curl security problems:

CVE-2019-5435: Integer overflows in curl_url_set()

libcurl contains two integer overflows in the curl_url_set()

function that if triggered, can lead to a too small buffer

allocation and a subsequent heap buffer overflow.

The flaws only exist on 32 bit architectures and require

excessive string input lengths.

CVE-2019-5436: TFTP receive buffer overflow

libcurl contains a heap buffer overflow in the function

(tftp_receive_packet()) that recevives data from a TFTP server. It

calls recvfrom() with the default size for the buffer rather than

with the size that was used to allocate it. Thus, the content that

might overwrite the heap memory is entirely controlled by the server.

The flaw exists if the user selects to use a "blksize" of 504 or

smaller (default is 512). The smaller size that is used, the larger

the possible overflow becomes.

Users chosing a smaller size than default should be rare as the

primary use case for changing the size is to make it larger.

It is rare for users to use TFTP across the Internet. It is most

commonly used within local networks.


  • freebsd-upgrade-package-curl

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center