CVE catalog

CVE-2023-38545

curl: CVE-2023-38545

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
78.69% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancurlsid8.23.0-1fixed
Debiancurlforky8.22.0-1fixed
Debiancurltrixie8.14.1-2+deb13u5fixed
Debiancurltrixie-security8.14.1-2+deb13u7fixed
Debiancurlbookworm7.88.1-10+deb12u15fixed
Debiancurlbookworm-security7.88.1-10+deb12u5fixed
Alpinecurl3.158.4.0-r0fixed
Alpinecurl3.168.4.0-r0fixed
Alpinecurl3.178.4.0-r0fixed
Alpinecurl3.188.4.0-r0fixed
Alpinecurl3.198.4.0-r0fixed
Alpinecurl3.208.4.0-r0fixed
Alpinecurl3.218.4.0-r0fixed
Alpinecurl3.228.4.0-r0fixed
Alpinecurl3.238.4.0-r0fixed
Alpinecurl3.248.4.0-r0fixed
Ubuntucurl20.047.65.3-1ubuntu3vulnerable
Ubuntucurl20.047.65.3-1ubuntu4vulnerable
Ubuntucurl20.047.66.0-1ubuntu1vulnerable
Ubuntucurl20.047.67.0-2ubuntu1vulnerable
Ubuntucurl20.047.68.0-1ubuntu1vulnerable
Ubuntucurl20.047.68.0-1ubuntu2vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.1vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.2vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.4vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.5vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.6vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.7vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.10vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.11vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.12vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.13vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.14vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.15vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.16vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.18vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.19vulnerable
Ubuntucurl20.047.68.0-1ubuntu2.20fixed
Ubuntucurl22.047.74.0-1.3ubuntu2vulnerable
Ubuntucurl22.047.74.0-1.3ubuntu3vulnerable
Ubuntucurl22.047.80.0-3vulnerable
Ubuntucurl22.047.81.0-1vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.1vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.2vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.3vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.4vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.6vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.7vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.8vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.10vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.11vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.13vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.14fixed
Ubuntucurl22.047.74.0-1.3ubuntu2vulnerable
Ubuntucurl22.047.74.0-1.3ubuntu3vulnerable
Ubuntucurl22.047.80.0-3vulnerable
Ubuntucurl22.047.81.0-1vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.1vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.2vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.3vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.4vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.6vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.7vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.8vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.10vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.11vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.13vulnerable
Ubuntucurl22.047.81.0-1ubuntu1.14fixed
Ubuntucurl24.048.2.1-1ubuntu3vulnerable
Ubuntucurl24.048.2.1-1ubuntu3.1fixed
Opensusecurltumbleweed8.4.0-1.1fixed
Opensusecmaketumbleweed3.27.8-1.1fixed
Susecurllinux enterprise micro 5.38.0.1-150400.5.32.1fixed
Susecurllinux enterprise micro 5.48.0.1-150400.5.32.1fixed
Susecurllinux enterprise micro 5.58.0.1-150400.5.32.1fixed
Susecurllinux enterprise module for basesystem 15 sp48.0.1-150400.5.32.1fixed
Susecurllinux enterprise module for basesystem 15 sp58.0.1-150400.5.32.1fixed
Opensusecurlleap 15.48.0.1-150400.5.32.1fixed
Opensusecurlleap 15.58.0.1-150400.5.32.1fixed
Susecurllinux enterprise software development kit 12 sp58.0.1-11.74.1fixed
Susecurllinux enterprise server 12 sp58.0.1-11.74.1fixed
Susecurllinux enterprise server for sap applications 12 sp58.0.1-11.74.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancurlsourcesid8.3.0-3not yet assignedNot reportedNot reported
Debiancurlsourceforky8.3.0-3not yet assignedNot reportedNot reported
Debiancurlsourcetrixie8.3.0-3not yet assignedNot reportedNot reported
Debiancurlsourcebookworm7.88.1-10+deb12u4not yet assignedNot reportedNot reported
Alpinecurlapk3.158.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Alpinecurlapk3.168.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Alpinecurlapk3.178.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Alpinecurlapk3.188.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Alpinecurlapk3.198.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Alpinecurlapk3.208.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Alpinecurlapk3.218.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Alpinecurlapk3.228.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Alpinecurlapk3.238.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Alpinecurlapk3.248.4.0-r0Not reportedALPINE-CVE-2023-38545Not reported
Ubuntucurldeb20.047.68.0-1ubuntu2.20Not reportedUSN-6429-1Not reported
Ubuntucurldeb22.047.81.0-1ubuntu1.14Not reportedUSN-6429-1Not reported
Ubuntucurldeb22.047.81.0-1ubuntu1.14Not reportedUBUNTU-CVE-2023-38545Not reported
Ubuntucurldeb24.048.2.1-1ubuntu3.1Not reportedUBUNTU-CVE-2023-38545Not reported
Opensusecurlrpmtumbleweed8.4.0-1.1Not reportedOPENSUSE-SU-2024:13325-1Not reported
Opensusecmakerpmtumbleweed3.27.8-1.1Not reportedOPENSUSE-SU-2024:13464-1Not reported
Susecurlrpmlinux enterprise micro 5.38.0.1-150400.5.32.1Not reportedSUSE-SU-2023:4044-1Not reported
Susecurlrpmlinux enterprise micro 5.48.0.1-150400.5.32.1Not reportedSUSE-SU-2023:4044-1Not reported
Susecurlrpmlinux enterprise micro 5.58.0.1-150400.5.32.1Not reportedSUSE-SU-2023:4044-1Not reported
Susecurlrpmlinux enterprise module for basesystem 15 sp48.0.1-150400.5.32.1Not reportedSUSE-SU-2023:4044-1Not reported
Susecurlrpmlinux enterprise module for basesystem 15 sp58.0.1-150400.5.32.1Not reportedSUSE-SU-2023:4044-1Not reported
Opensusecurlrpmleap 15.48.0.1-150400.5.32.1Not reportedSUSE-SU-2023:4044-1Not reported
Opensusecurlrpmleap 15.58.0.1-150400.5.32.1Not reportedSUSE-SU-2023:4044-1Not reported
Susecurlrpmlinux enterprise software development kit 12 sp58.0.1-11.74.1Not reportedSUSE-SU-2023:4043-1Not reported
Susecurlrpmlinux enterprise server 12 sp58.0.1-11.74.1Not reportedSUSE-SU-2023:4043-1Not reported
Susecurlrpmlinux enterprise server for sap applications 12 sp58.0.1-11.74.1Not reportedSUSE-SU-2023:4043-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References