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

Daniel Stenberg

·

Published

2016-12-21

·

Updated

2024-06-15

·

CVE-2016-9586

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions curl versions prior to 7.52.0
Description The issue arises from a buffer overflow in libcurl's implementation of the printf() functions when handling large floating point output. This occurs because the floating point conversion uses system functions without proper boundary checks, specifically when the conversion outputs more than 255 bytes. The affected functions are deprecated and planned for removal, but their current presence and lack of prevention against their use suggest there may be existing users. If an application accepts a format string from an external source without proper filtering, it could be exploited for remote attacks.
Recommendations For versions prior to 7.52.0, update to version 7.52.0 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the deprecated printf() functions in libcurl until a patch is applied. Restrict access to applications that accept format strings from external sources without necessary input filtering to minimize the risk of exploitation.

Fix

Buffer Overflow

Stack Overflow

Heap Based Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2016-2472
ALT-PU-2018-2456
CVE-2016-9586
DLA-1568-1
DLA-767-1
MGASA-2018-0053
OPENSUSE-SU-2024:10582-1
RHSA-2018:3558
SUSE-SU-2017:1042-1
SUSE-SU-2017:1043-1
SUSE-SU-2017:1117-1
SUSE-SU-2017:2312-1
SUSE-SU-2017:2699-1
SUSE-SU-2017:2700-1
SUSE-SU-2017_1042-1
SUSE-SU-2017_1043-1
SUSE-SU-2017_2312-1
USN-3441-1
USN-3441-2

Affected Products

Alt Linux
Suse
Ubuntu
Libcurl