CVE-2023-38545
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
02 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
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 78.68% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.5% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-10-18 03:52Z3 YR AGO
- Last updated
- 2026-10-14 23:35Z14 DAYS AGO
- Reserved
- 2023-07-20
- Assigning CNA
- hackerone
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- 84bb571d9adc23bb283bff0ec14a386e667089f3197cf239b932965247147942
05 Affected products
06 References
- curl.sehttps://curl.se/docs/CVE-2023-38545.html
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20231027-0009/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/
- www.secpod.comhttps://www.secpod.com/blog/high-severity-heap-buffer-overflow-vulnerability/
- support.apple.comhttps://support.apple.com/kb/HT214036
- support.apple.comhttps://support.apple.com/kb/HT214063
- support.apple.comhttps://support.apple.com/kb/HT214057
- support.apple.comhttps://support.apple.com/kb/HT214058
- seclists.orghttp://seclists.org/fulldisclosure/2024/Jan/34
- seclists.orghttp://seclists.org/fulldisclosure/2024/Jan/37
- seclists.orghttp://seclists.org/fulldisclosure/2024/Jan/38
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20240201-0005/
- forum.vmssoftware.comhttps://forum.vmssoftware.com/viewtopic.php?f=8&t=8868
- github.comhttps://github.com/bcdannyboy/CVE-2023-38545
- github.comhttps://github.com/dbrugman/CVE-2023-38545-POC
- github.comhttps://github.com/UTsweetyfish/CVE-2023-38545
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-943925.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-832273.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-093430.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-082556.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-507364.html
07 Fixed in
AlmaLinux 9
- curl Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
- curl-minimal Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
- libcurl Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
- libcurl-devel Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
- libcurl-minimal Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- curl Fixed in 8.4.0-1
- lib32-curl Fixed in 8.4.0-1
- lib32-libcurl-compat Fixed in 8.4.0-1
- lib32-libcurl-gnutls Fixed in 8.4.0-1
- libcurl-compat Fixed in 8.4.0-1
- libcurl-gnutls Fixed in 8.4.0-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 9
- curl Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
- curl-minimal Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
- libcurl Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
- libcurl-devel Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
- libcurl-minimal Fixed
A version is affected if any line below covers it.
- Affected before 7.76.1-23.el9_2.4
- Affected before 7.76.1-26.el9_3.2
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- curl Fixed in 7.88.1-10+deb12u4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- curl Fixed in 8.3.0-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- curl Fixed in 8.3.0-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- curl Fixed in 7.81.0-1ubuntu1.14
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- curl Fixed in 8.2.1-1ubuntu3.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.