CVE-2026-5773: wrong reuse of SMB connection
A flaw was found in libcurl. Due to a logical error in the connection reuse mechanism for SMB (Server Message Block) transfers, libcurl might reuse an existing SMB connection with a different share than intended. This vulnerability, categorized as CWE-488 (Exposure of Data Element to Wrong Session), could lead to the download of an incorrect file or the upload of a file to an unintended location when an application uses libcurl for SMB transfers.
Other sources
libcurl might in some circumstances reuse the wrong connection for SMB(S) transfers.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/curlto a version that resolves this vulnerability.Fixed in 7.88.1-10+deb12u15 - Upgrade
Upgrade
debian/curlto a version that resolves this vulnerability.Fixed in 8.14.1-2+deb13u4 - Upgrade
Upgrade
debian/curlto a version that resolves this vulnerability.Fixed in 8.20.0~rc2-1 - Upgrade
Upgrade
debian/curlto a version that resolves this vulnerability.Fixed in 7.88.1-10+deb12u15Fixed in 8.14.1-2+deb13u4Fixed in 8.20.0~rc2-1 - Upgrade
Upgrade
ubuntu/curlto a version that resolves this vulnerability.Fixed in 7.47.0-1ubuntu2.19+esm17 - Upgrade
Upgrade
ubuntu/curlto a version that resolves this vulnerability.Fixed in 7.58.0-2ubuntu3.24+esm10 - Upgrade
Upgrade
ubuntu/curlto a version that resolves this vulnerability.Fixed in 7.68.0-1ubuntu2.25+esm5 - Upgrade
Upgrade
ubuntu/curlto a version that resolves this vulnerability.Fixed in 7.81.0-1ubuntu1.24 - Upgrade
Upgrade
ubuntu/curlto a version that resolves this vulnerability.Fixed in 8.5.0-2ubuntu10.9 - Upgrade
Upgrade
ubuntu/curlto a version that resolves this vulnerability.Fixed in 8.14.1-2ubuntu1.3 - Upgrade
Upgrade
ubuntu/curlto a version that resolves this vulnerability.Fixed in 8.18.0-1ubuntu2.1 - Compensating control
Avoid using SMB transfers with libcurl.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-5773?
CVE-2026-5773 has a medium severity rating due to the potential for unauthorized data access in SMB transfers.
How do I fix CVE-2026-5773?
To mitigate CVE-2026-5773, update libcurl to a version beyond 8.20.0, as this issue has been addressed in subsequent releases.
What impact does CVE-2026-5773 have on my system?
CVE-2026-5773 can lead to data being transferred over an incorrect SMB connection, potentially exposing sensitive information.
Is CVE-2026-5773 exploitable in all environments?
CVE-2026-5773 is primarily exploitable in environments using libcurl for SMB(S) transfers where connection reuse occurs.
What versions of libcurl are affected by CVE-2026-5773?
CVE-2026-5773 affects libcurl versions from 7.40.0 to 8.20.0 inclusive.