PT-2016-7247 · Curl+5 · Libcurl+5

Publicado

2016-09-14

·

Atualizado

2026-05-18

·

CVE-2016-7167

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/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.3
Description The issue is caused by multiple integer overflows in the curl escape(), curl easy escape(), curl unescape(), and curl easy unescape() functions. These functions perform string URL percent escaping and unescaping, and they accept custom string length inputs in signed integer arguments. The provided string length arguments were not properly checked, which could lead to a heap-based buffer overflow when a string of length 0xffffffff is passed. This occurs because the functions attempt to allocate zero bytes of heap memory and then write gigabytes of data into it.
Recommendations For libcurl versions prior to 7.50.3, update to version 7.50.3 or later to resolve the issue. As a temporary workaround, consider restricting the use of the curl escape(), curl easy escape(), curl unescape(), and curl easy unescape() functions until a patch is available. Avoid passing large or unvalidated string lengths to these functions to minimize the risk of exploitation.

Correção

Integer Overflow

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

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2016-1971
CESA-2017_2016
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
CVE-2016-7167
DLA-1568-1
DLA-625-1
MGASA-2016-0316
OPENSUSE-SU-2016_2768-1
OPENSUSE-SU-2024:10303-1
RHSA-2017:2016
RHSA-2017_2016
RHSA-2018:3558
SUSE-SU-2016:2699-1
SUSE-SU-2016:2700-1
SUSE-SU-2016:2714-1
SUSE-SU-2016_2699-1
SUSE-SU-2016_2714-1
SUSE-SU-2017:2699-1
SUSE-SU-2017:2700-1
USN-3123-1

Produtos afetados

Alt Linux
Centos
Red Hat
Suse
Ubuntu
Libcurl