CVE-2019-5436
High · 7.8CVSS
7.8
EPSS
49.7%
Published
May 28, 2019
CISA due date
—
Cloudanix analysis
A flaw in handling certain network file transfers can let attackers crash programs or run harmful code on affected systems.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow in TFTP receiving code allows denial of service or arbitrary code execution.
Why it matters to the business
Applications using the affected library can be crashed or fully compromised, enabling attacker code execution. Moderate EPSS score signals ongoing exploitation risk across Debian environments with glibc packages.
How an attack unfolds
An attacker delivers a malicious TFTP response packet sequence to a vulnerable application using the library, triggering the heap overflow to achieve denial of service or remote code execution.
How to fix it
Upgrade affected packages to the fixed versions: glibc (Debian:11) fixed in 2.7-1, glibc (Debian:12) fixed in 2.7-1, glibc (Debian:13) fixed in 2.7-1, glibc (Debian:10) fixed in 2.7-1. Apply updates across all impacted Debian releases.
How to confirm the fix worked
Verify installed package versions match or exceed the listed fixed releases and test TFTP functionality in affected applications to confirm stability.
Typical attack path
- Scan for systems running vulnerable library versions
- Initiate TFTP transfer with oversized or malformed response data
- Trigger heap buffer overflow during packet reception
- Leverage overflow for code execution or service disruption
How to detect it
Inspect application logs for TFTP-related crashes or errors and review network traffic for anomalous TFTP packet sizes or patterns around the time of any incidents.
What your security team should do
- Prioritize patching all listed Debian glibc packages due to available public exploits
- Review and restrict TFTP usage where possible
- Monitor EPSS trends for any increase in exploitation likelihood
The record
A heap buffer overflow in the TFTP receiving code allows for DoS or arbitrary code execution in libcurl versions 7.19.4 through 7.64.1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.10 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.11 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.12 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.13 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.14 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.15 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.16 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.17 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.18 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.19 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.20 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.21 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.22 | curl | 0 | 7.65.0-r0 |
| Alpine:v3.9 | curl | 0 | 7.64.0-r2 |
| Debian:11 | curl | 0 | 7.64.0-4 |
| Debian:12 | curl | 0 | 7.64.0-4 |
| Debian:13 | curl | 0 | 7.64.0-4 |
| Debian:8 | curl | 0 | 7.38.0-4+deb8u15 |
| Mageia:7 | curl | 0 | 7.66.0-1.mga7 |
| Red Hat:enterprise_linux:7::client | curl | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::client | curl-debuginfo | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::client | libcurl | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::client | libcurl-devel | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::computenode | curl | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::computenode | curl-debuginfo | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::computenode | libcurl | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::computenode | libcurl-devel | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::server | curl | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::server | curl-debuginfo | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::server | libcurl | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::server | libcurl-devel | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::workstation | curl | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::workstation | curl-debuginfo | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::workstation | libcurl | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:7::workstation | libcurl-devel | 0 | 0:7.29.0-57.el7 |
| Red Hat:enterprise_linux:8::baseos | curl | 0 | 0:7.61.1-12.el8 |
| Red Hat:enterprise_linux:8::baseos | curl-debuginfo | 0 | 0:7.61.1-12.el8 |
| Red Hat:enterprise_linux:8::baseos | curl-debugsource | 0 | 0:7.61.1-12.el8 |
| Red Hat:enterprise_linux:8::baseos | curl-minimal-debuginfo | 0 | 0:7.61.1-12.el8 |
| Red Hat:enterprise_linux:8::baseos | libcurl | 0 | 0:7.61.1-12.el8 |
| Red Hat:enterprise_linux:8::baseos | libcurl-debuginfo | 0 | 0:7.61.1-12.el8 |
| Red Hat:enterprise_linux:8::baseos | libcurl-devel | 0 | 0:7.61.1-12.el8 |
| Red Hat:enterprise_linux:8::baseos | libcurl-minimal | 0 | 0:7.61.1-12.el8 |
| Red Hat:enterprise_linux:8::baseos | libcurl-minimal-debuginfo | 0 | 0:7.61.1-12.el8 |
| Red Hat:rhel_eus:7.7::computenode | curl | 0 | 0:7.29.0-54.el7_7.3 |
| Red Hat:rhel_eus:7.7::computenode | curl-debuginfo | 0 | 0:7.29.0-54.el7_7.3 |
| Red Hat:rhel_eus:7.7::computenode | libcurl | 0 | 0:7.29.0-54.el7_7.3 |
| Red Hat:rhel_eus:7.7::computenode | libcurl-devel | 0 | 0:7.29.0-54.el7_7.3 |
| Red Hat:rhel_eus:7.7::server | curl | 0 | 0:7.29.0-54.el7_7.3 |
| Red Hat:rhel_eus:7.7::server | curl-debuginfo | 0 | 0:7.29.0-54.el7_7.3 |
| Red Hat:rhel_eus:7.7::server | libcurl | 0 | 0:7.29.0-54.el7_7.3 |
| Red Hat:rhel_eus:7.7::server | libcurl-devel | 0 | 0:7.29.0-54.el7_7.3 |
| SUSE:Enterprise Storage 4 | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Desktop 12 SP4 | curl | 0 | 7.60.0-4.6.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 | curl | 0 | 7.60.0-3.20.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP1 | curl | 0 | 7.60.0-3.20.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | curl | 0 | 7.37.0-70.41.2 |
| SUSE:Linux Enterprise Server 11 SP4-LTSS | curl | 0 | 7.37.0-70.41.2 |
| SUSE:Linux Enterprise Server 11-SECURITY | curl-openssl1 | 0 | 7.37.0-70.41.2 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Server 12 SP2-BCL | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Server 12 SP2-LTSS | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Server 12 SP3 | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Server 12 SP4 | curl | 0 | 7.60.0-4.6.1 |
| SUSE:Linux Enterprise Server 12-LTSS | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | curl | 0 | 7.60.0-4.6.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | curl | 0 | 7.37.0-37.40.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP4 | curl | 0 | 7.60.0-4.6.1 |
| SUSE:OpenStack Cloud 7 | curl | 0 | 7.37.0-37.40.1 |
| Ubuntu:14.04:LTS | curl | 0 | 7.35.0-1ubuntu2.20+esm2 |
| Ubuntu:16.04:LTS | curl | 0 | 7.47.0-1ubuntu2.13 |
| Ubuntu:18.04:LTS | curl | 0 | 7.58.0-2ubuntu3.7 |
| Ubuntu:Pro:14.04:LTS | curl | 0 | 7.35.0-1ubuntu2.20+esm2 |
| openSUSE:Leap 15.0 | curl | 0 | 7.60.0-lp151.5.3.1 |
| openSUSE:Leap 15.0 | curl-mini | 0 | 7.60.0-lp151.5.3.1 |
| openSUSE:Leap 15.1 | curl | 0 | 7.60.0-lp151.5.3.1 |
| openSUSE:Leap 15.1 | curl-mini | 0 | 7.60.0-lp151.5.3.1 |
| openSUSE:Tumbleweed | curl | 0 | 7.79.1-1.1 |
Related vulnerabilities
- CVE-2021-22898 curl 7.7 through 7.76.1 suffers from an information disclosure when the `-t` command line… Also affects curl
- CVE-2019-5481 Double-free vulnerability in the FTP-kerberos code in cURL 7.52.0 to 7.65.3. Also affects curl
- CVE-2019-5482 Heap buffer overflow in the TFTP protocol handler in cURL 7.19.4 to 7.65.3. Also affects curl
- CVE-2017-8817 The FTP wildcard function in curl and libcurl before 7.57.0 allows remote attackers to… Also affects curl
- CVE-2017-8816 The NTLM authentication feature in curl and libcurl before 7.57.0 on 32-bit platforms… Also affects curl
- CVE-2017-1000257 An IMAP FETCH response line indicates the size of the returned data, in number of bytes. Also affects curl
- CVE-2016-7167 Multiple integer overflows in the (1) curl_escape, (2) curl_easy_escape, (3)… Also affects curl
- CVE-2016-7141 curl and libcurl before 7.50.2, when built with NSS and the libnsspem.so library is… Also affects curl