CVE-2023-38545

CriticalCVSS 9.8/10Last modified Jun 17, 2026

Description

This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake.

When curl is asked to pass along the host name to the SOCKS5 proxy to allow that to resolve the address instead of it getting done by curl itself, the maximum length that host name can be is 255 bytes.

If the host name is detected to be longer, curl switches to local name resolving and instead passes on the resolved address only. Due to this bug, the local variable that means "let the host resolve the name" could get the wrong value during a slow SOCKS5 handshake, and contrary to the intention, copy the too long host name to the target buffer instead of copying just the resolved address there.

The target buffer being a heap based buffer, and the host name coming from the URL that curl has been told to operate with.

Metrics

CVSS 3.1 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Oct 18, 2023
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2023

CVE-2023-385463.7This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the specific series of conditions are met. CVE-2023-385479.8A vulnerability in Veeam ONE allows an unauthenticated user to gain information about the SQL server connection Veeam ONE uses to access itsCVE-2023-385484.3A vulnerability in Veeam ONE allows an unprivileged user who has access to the Veeam ONE Web Client the ability to acquire the NTLM hash of CVE-2023-385495.4A vulnerability in Veeam ONE allows an unprivileged user who has access to the Veeam ONE Web Client the ability to acquire the NTLM hash of CVE-2023-38556.1A vulnerability classified as problematic was found in phpscriptpoint JobSeeker 1.5. Affected by this vulnerability is an unknown functionalCVE-2023-385518.2A CRLF Injection vulnerability in Ivanti Connect Secure (9.x, 22.x) allows an authenticated high-privileged user to inject malicious code onCVE-2023-385527.5When the Node.js policy feature checks the integrity of a resource against a trusted manifest, the application can intercept the operation aCVE-2023-385536.7In gnss service, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege witCVE-2023-385545.5In wcn bsp driver, there is a possible out of bounds write due to a missing bounds check.This could lead to local denial of service with no CVE-2023-385558.8Authentication bypass vulnerability in Fujitsu network devices Si-R series and SR-M series allows a network-adjacent unauthenticated attackeCVE-2023-385567.5Improper input validation vulnerability in SEIKO EPSON printer Web Config allows a remote attacker to turned off the printer. [Note] Web CoCVE-2023-385577.8A vulnerability has been identified in Spectrum Power 7 (All versions < V23Q3). The affected product assigns improper access rights to the u
CVE-2023-38545: Critical severity, CVSS 9.8 | Vulnix