PT-2017-18550 · Curl+3 · Libcurl+3

Alex Nichols

·

Published

2017-11-29

·

Updated

2026-05-18

·

CVE-2017-8816

CVSS v3.1

9.8

Critical

VectorAV: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.57.0
Description The issue is related to the NTLM authentication feature in libcurl, which allows attackers to cause a denial of service or possibly have other impacts via vectors involving long user and password fields. This is due to a buffer overrun flaw in the NTLM authentication code. The internal function Curl ntlm core mk ntlmv2 hash calculates the storage size by summing the lengths of the username and password and multiplying by two. On 32-bit systems, this calculation can trigger an integer overflow when the combined lengths exceed 2GB, resulting in a very small buffer being allocated instead of the intended large one, leading to a buffer overrun.
Recommendations For versions prior to 7.57.0, update to version 7.57.0 or later to resolve the issue. As a temporary workaround, consider restricting the length of the username and password fields to prevent the integer overflow and buffer overrun.

Fix

DoS

Integer Overflow

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

Weakness Enumeration

Related Identifiers

ALT-PU-2017-2714
ALT-PU-2018-2456
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
CVE-2017-8816
DSA-4051-1
MGASA-2018-0053
MGASA-2018-0054
OPENSUSE-SU-2024:10582-1
RHSA-2018:3558
SUSE-SU-2018:0122-1
SUSE-SU-2018_0122-1
USN-3498-1

Affected Products

Alt Linux
Suse
Ubuntu
Libcurl