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

Andrej Nemec

·

Publicado

2016-11-02

·

Atualizado

2026-05-18

·

CVE-2016-8622

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.51.0
Description The issue concerns the URL percent-encoding decode function in libcurl, internally known as curl easy unescape. This function can lead to libcurl writing outside of its heap-based buffer if it attempts to allocate a destination buffer larger than 2GB, due to the length being returned in a signed 32-bit integer variable. This can cause the length to be truncated or become negative. The problem can be triggered by a user on a 64-bit system if they can send a custom, very large URL to a libcurl-using program.
Recommendations For versions prior to 7.51.0, update to version 7.51.0 or later to resolve the issue. As a temporary workaround, consider restricting the size of URLs that can be processed by libcurl to prevent the curl easy unescape function from attempting to allocate excessively large buffers.

Correção

Heap Based Buffer Overflow

Integer Overflow

Memory Corruption

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

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2016-2231
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
CVE-2016-8622
DLA-711-1
DSA-3705-1
MGASA-2018-0053
OPENSUSE-SU-2016_2768-1
OPENSUSE-SU-2024:10303-1
RHSA-2018:3558
SUSE-SU-2016:2699-1
SUSE-SU-2016:2700-1
SUSE-SU-2016:2714-1
SUSE-SU-2017:2699-1
SUSE-SU-2017:2700-1
USN-3123-1

Produtos afetados

Alt Linux
Suse
Ubuntu
Libcurl