Vulnerability · Published May 13, 2026 · Assigned by curl

CVE-2026-5773wrong reuse of SMB connection

High 7.5

In plain English

A high-severity security flaw in curl from curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 50.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

libcurl might in some circumstances reuse the wrong connection for SMB(S) transfers. libcurl features a pool of recent connections so that subsequent requests can reuse an existing connection to avoid overhead. When reusing a connection a range of criteria must be met. Due to a logical error in the code, a network transfer operation that was requested by an application could wrongfully reuse an existing SMB connection to the same server that was using a different "share" than the new subsequent transfer should. This could in unlucky situations lead to the download of the wrong file or the upload of a file to the wrong place. When this happens, the same credentials are used and the server name is the same.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21curl8.14.1-r3ALPINE-CVE-2026-5773
Alpine:v3.22curl8.14.1-r4ALPINE-CVE-2026-5773
Alpine:v3.23curl8.20.0-r0ALPINE-CVE-2026-5773
Alpine:v3.24curl8.20.0-r0ALPINE-CVE-2026-5773
Debian:12curl7.88.1-10+deb12u15DEBIAN-CVE-2026-5773
Debian:13curl8.14.1-2+deb13u4DEBIAN-CVE-2026-5773
Debian:14curl8.20.0~rc2-1DEBIAN-CVE-2026-5773
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.24UBUNTU-CVE-2026-5773
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.9UBUNTU-CVE-2026-5773
Ubuntu:25.10curl8.14.1-2ubuntu1.3UBUNTU-CVE-2026-5773
Ubuntu:26.04:LTScurl8.18.0-1ubuntu2.1UBUNTU-CVE-2026-5773

Affected products (as reported)

VendorProductVersions
curl curl 7.40.0 – before 8.14.28.15.0 – before 8.16.18.17.0 – before 8.20.0
curl curl aec2e865f06669b9cb5d26cc1148d70bc418b163 – before 74a169575d6412dc0ff532acdf94de35a6c2a571
curl curl 8.19.08.18.08.17.08.16.08.15.08.14.18.14.08.13.0

Weakness: CWE-488 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References