CVE-2026-5773: wrong reuse of SMB connection

Published Apr 23, 2026
·
Updated

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

13 affected componentsFixes available
curl libcurl
haxx curl>=7.40.0<8.20.0
debian/curl<7.88.1-10+deb12u15
7.88.1-10+deb12u15
debian/curl<8.14.1-2+deb13u4
8.14.1-2+deb13u4
debian/curl<8.20.0~rc2-1
8.20.0~rc2-1
debian/curl<=7.88.1-10+deb12u5
7.88.1-10+deb12u158.14.1-2+deb13u48.20.0~rc2-1
ubuntu/curl<7.47.0-1ubuntu2.19+esm17
7.47.0-1ubuntu2.19+esm17
ubuntu/curl<7.58.0-2ubuntu3.24+esm10
7.58.0-2ubuntu3.24+esm10
ubuntu/curl<7.68.0-1ubuntu2.25+esm5
7.68.0-1ubuntu2.25+esm5
ubuntu/curl<7.81.0-1ubuntu1.24
7.81.0-1ubuntu1.24
ubuntu/curl<8.5.0-2ubuntu10.9
8.5.0-2ubuntu10.9
ubuntu/curl<8.14.1-2ubuntu1.3
8.14.1-2ubuntu1.3
ubuntu/curl<8.18.0-1ubuntu2.1
8.18.0-1ubuntu2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.88.1-10+deb12u15
  2. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.14.1-2+deb13u4
  3. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 8.20.0~rc2-1
  4. Upgrade

    Upgrade debian/curl to 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
  5. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.47.0-1ubuntu2.19+esm17
  6. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.58.0-2ubuntu3.24+esm10
  7. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.68.0-1ubuntu2.25+esm5
  8. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 7.81.0-1ubuntu1.24
  9. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.5.0-2ubuntu10.9
  10. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.14.1-2ubuntu1.3
  11. Upgrade

    Upgrade ubuntu/curl to a version that resolves this vulnerability.

    Fixed in 8.18.0-1ubuntu2.1
  12. Compensating control

    Avoid using SMB transfers with libcurl.

Event History

Apr 23, 2026
Data Sourced
via Red Hat·04:47 PM
DescriptionSeverityAffected Software
Apr 29, 2026
CVE Published
via OSV·02:00 PM
Data Sourced
via OSV·02:00 PM
DescriptionSeverityAffected Software
May 13, 2026
CVE Published
via MITRE·08:27 AM
Data Sourced
via MITRE·08:27 AM
DescriptionWeakness
Data Sourced
via NVD·01:01 PM
Description
Data Sourced
via NVD·06:16 PM
Severity
Data Sourced
via NVD·07:13 PM
RemedyWeaknessAffected Software
Updated
via NVD·07:13 PM
Severity
Sep 15, 2026
Updated
via MITRE·06:03 AM
Description
Updated
via NVD·07:16 AM
DescriptionWeakness
Nov 13, 2026
Data Sourced
via OSV·02:47 AM
Weakness

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203