cve.bz

CVE-2026-3805 haxx curl: Use After Free

7.5 highExploit referenceEPSS 0.9%Fix available

High (7.5) in haxx curl. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-03-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-3805 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-3805?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-3805?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-3805 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
curlfrom 8.13.0 before 8.14.2
curlfrom 8.15.0 before 8.16.1
curlfrom 8.17.0 before 8.19.0
curl8.18.0
curl8.17.0
curl8.16.0
curl8.15.0
curl8.14.1
curl8.14.0
curl8.13.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13curl8.14.1-2+deb13u4DEBIAN-CVE-2026-3805
Debian14curl8.19.0-1DEBIAN-CVE-2026-3805
Ubuntu22.04:LTScurl7.81.0-1ubuntu1.23USN-8084-1
Ubuntu24.04:LTScurl8.5.0-2ubuntu10.8USN-8084-1
Ubuntu25.10curl8.14.1-2ubuntu1.2UBUNTU-CVE-2026-3805 USN-8084-1
Red Hathummingbird:1curl, libcurl, libcurl-devel and 1 more0:8.19.0-3.hum1RHSA-2026:6893
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morecurl8.14.1-150400.5.80.1SUSE-SU-2026:0911-1
SUSELinux Enterprise Micro 5.2curl8.14.1-150200.4.103.1SUSE-SU-2026:0879-1
SUSELinux Enterprise Module for Basesystem 15 SP7curl8.14.1-150700.7.14.1SUSE-SU-2026:0903-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6curl8.14.1-150600.4.40.1SUSE-SU-2026:0885-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0curl, curl-mini8.14.1-160000.5.1SUSE-SU-2026:20918-1
SUSELinux Micro 6.0curl8.14.1-5.1SUSE-SU-2026:20722-1
SUSELinux Micro 6.1curl8.14.1-slfo.1.1_6.1SUSE-SU-2026:20668-1
SUSELinux Micro 6.2curl8.14.1-160000.5.1SUSE-SU-2026:20760-1
openSUSELeap 15.6curl8.14.1-150600.4.40.1SUSE-SU-2026:0885-1
openSUSELeap 16.0curl8.14.1-160000.5.1openSUSE-SU-2026:20404-1
openSUSETumbleweedcurl8.19.0-1.1openSUSE-SU-2026:10371-1
Alpinev3.21curl8.14.1-r3ALPINE-CVE-2026-3805
Alpinev3.22curl8.14.1-r4ALPINE-CVE-2026-3805
Alpinev3.23, v3.24curl8.19.0-r0ALPINE-CVE-2026-3805
Alpaquita25curl8.14.1-r4BELL-CVE-2026-3805
Alpaquitastreamcurl8.19.0-r0BELL-CVE-2026-3805
BellSoft Hardened Containersstreamcurl8.19.0-r0BELL-CVE-2026-3805

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate flaw in curl's handling of Server Message Block (SMB) connections can lead to a use-after-free vulnerability. When a second SMB request is made to the same host, curl may incorrectly access previously freed memory, potentially resulting in arbitrary code execution or a denial of service. However, successful exploitation is considered difficult due to the specific conditions required to trigger the flaw reliably.

Red Hat's mitigation

To mitigate this issue, avoid using curl for Server Message Block (SMB) transfers. This can be achieved by ensuring that applications utilizing curl do not initiate SMB requests. If SMB transfers are essential, consider isolating the affected systems or restricting network access to SMB services. A service restart or reload may be required for changes to take effect.

ProductPackageStateAdvisory
Red Hat Hardened Imagescurl-main-8.19.0-3.hum1Fixed 2026-04-07RHSA-2026:6893
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9Fix deferred
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-operator-bundleFix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-payload-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-rhel9-operatorFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/vector-rhel9Fix deferred
Red Hat Enterprise Linux 10curlNot affected
Red Hat Enterprise Linux 10rustFix deferred
Red Hat Enterprise Linux 10s390utilsFix deferred
Red Hat Enterprise Linux 10snphostFix deferred
Red Hat Enterprise Linux 10trusteeFix deferred
Red Hat Enterprise Linux 10trustee-guest-componentsFix deferred
14 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-3805.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • Rat5ak/CVE-2026-3805-curl-SMB-UAF Harbor Check: matches CVE 0 stars, Shell, created
    CVE-2026-3805: Use-After-Free in curl SMB connection reuse - heap info disclosure

References

Check your stackJSON