wrong reuse of SMB connection (curl curl)

CVE-2026-5773
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.62 % · percentile 50 ()
State
PUBLISHED
Published
Updated
Assigner
curl
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-488 — Exposure of Data Element to Wrong Session
  • CWE-918 — Server-Side Request Forgery

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
curl · curlaffected 7.40.0 < 8.14.2 ; affected 8.15.0 < 8.16.1 ; affected 8.17.0 < 8.20.0
curl · curlaffected aec2e865f06669b9cb5d26cc1148d70bc418b163 < 74a169575d6412dc0ff532acdf94de35a6c2a571
curl · curlaffected 8.19.0 ; affected 8.18.0 ; affected 8.17.0 ; affected 8.16.0 ; affected 8.15.0 ; affected 8.14.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD