PT-2016-6418 · Curl+3 · Libcurl+3

Fernando Muñoz

+1

·

Publicado

2016-08-03

·

Atualizado

2026-05-18

·

CVE-2016-5421

CVSS v3.1

8.1

Alta

VetorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions libcurl versions prior to 7.50.1
Description A use-after-free issue exists in libcurl, allowing attackers to potentially control which connection is used or have other unspecified impacts. This issue arises when an application uses libcurl's multi interface and an easy handle is added to a multi handle. If curl multi cleanup() is called with an easy handle still added to it, a pointer to a freed connection struct can be left dangling in the easy handle. If the easy handle is then used again with curl easy perform(), it can blindly use the connection struct pointer now pointing to freed memory, potentially leading to unintended actions. This flaw can be exploited by an application allocating its own fake version of the connection struct and filling in data, causing curl easy perform() to perform unintended actions.
Recommendations For libcurl versions prior to 7.50.1, update to version 7.50.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of curl multi cleanup() with an easy handle still added to a multi handle, and ensure that easy handles are properly closed after use to minimize the risk of exploitation. Restrict access to the curl easy perform() function to prevent unintended actions until the issue is resolved.

Correção

Use After Free

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2016-1895
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
CVE-2016-5421
DSA-3638-1
MGASA-2016-0285
RHSA-2018:3558
SUSE-SU-2016:2330-1
SUSE-SU-2017:2699-1
SUSE-SU-2017:2700-1
USN-3048-1

Produtos afetados

Alt Linux
Suse
Ubuntu
Libcurl