Skip to content
OpenAdvisories
High USN-8084-1 5 CVEs

curl vulnerabilities

Published Mar 11, 2026 · Updated Apr 27, 2026

Summary

Zhicheng Chen discovered that curl could incorrectly reuse the wrong
connection for Negotiate-authenticated HTTP or HTTPS requests. This could
result in the use of credentials from a different connection, contrary to
expectations. (CVE-2026-1965)

It was discovered that curl incorrectly leaked OAuth2 bearer tokens when
following a redirect. This could result in tokens being sent to the wrong
host, contrary to expectations. (CVE-2026-3783)

Muhamad Arga Reksapati discovered that curl incorrectly reused existing
HTTP proxy connections even if the request used different credentials. This
could result in the use of incorrect credentials, contrary to expectations.
(CVE-2026-3784)

Daniel Wade discovered that curl incorrectly handled certain memory
operations when doing a second SMB request to the same host. An attacker
could use this issue to cause curl to crash, resulting in a denial of
service, or possibly execute arbitrary code. This issue only affected
Ubuntu 25.10. (CVE-2026-3805)

Yihang Zhou discovered that curl incorrectly reused .netrc file credentials
when following redirects. This could result in the use of credentials for
a different host, contrary to expectations. This issue only affected Ubuntu
22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-0167)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS curl 7.81.0-1ubuntu1.23
Ubuntu · 24.04 LTS 24.04:LTS curl 8.5.0-2ubuntu10.8
Ubuntu · 25.10 curl 8.14.1-2ubuntu1.2

Vulnerabilities 5

  • High 7.5
    CVE-2026-3805 Public exploit

    use after free in SMB connection reuse

    When doing a second SMB request to the same host again, curl would wrongly use a data pointer pointing into already freed memory.

  • Medium 6.5

    bad reuse of HTTP Negotiate connection

    libcurl can in some circumstances reuse the wrong connection when asked to do an Negotiate-authenticated HTTP or HTTPS request. libcurl features a pool of recent connections so that subsequent requests can reuse an existing connection to avoid overhead. When …

  • Medium 6.5

    wrong proxy connection reuse with credentials

    curl would wrongly reuse an existing HTTP proxy connection doing CONNECT to a server, even if the new request uses different credentials for the HTTP proxy. The proper behavior is to create or use a separate connection.

  • Medium 5.3

    token leak with redirect and netrc

    When an OAuth2 bearer token is used for an HTTP(S) transfer, and that transfer performs a redirect to a second URL, curl could leak that token to the second hostname under some circumstances. If the hostname that the first request is redirected to has informa…

  • Low 3.4

    netrc and default credential leak

    When asked to use a `.netrc` file for credentials **and** to follow HTTP redirects, curl could leak the password used for the first host to the followed-to host under certain circumstances. This flaw only manifests itself if the netrc file has a `default` ent…

References

  • report
    https://ubuntu.com/security/CVE-2025-0167
  • report
    https://ubuntu.com/security/CVE-2026-1965
  • report
    https://ubuntu.com/security/CVE-2026-3783
  • report
    https://ubuntu.com/security/CVE-2026-3784
  • report
    https://ubuntu.com/security/CVE-2026-3805