CVE-2026-3805
Received Received - Intake

Use-After-Free Vulnerability in curl SMB Requests Causes Memory Corruption

Vulnerability report for CVE-2026-3805, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-03-11

Last updated on: 2026-03-12

Assigner: curl

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-03-11
Last Modified
2026-03-12
Generated
2026-07-06
AI Q&A
2026-03-11
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
haxx curl From 8.13.0 (inc) to 8.19.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-3805 is a use-after-free vulnerability in curl that occurs during SMB connection reuse. Specifically, when curl makes a second SMB request to the same host, it incorrectly uses a data pointer that points to memory that has already been freed.

This causes curl to perform a strlen() operation on this freed memory pointer and then check if the string length is less than or equal to 1024 before copying the string into the outgoing package.

Because the memory has been freed, it may have been overwritten by other application data, potentially leading to leakage of sensitive information.

The vulnerability affects curl versions 8.13.0 through 8.18.0 and was fixed in version 8.19.0.

Impact Analysis

This vulnerability can potentially lead to leakage of sensitive data if the freed memory was overwritten by application data since the previous transfer.

However, exploitation is considered extremely difficult because it is unlikely that applications would execute the exact sequence of operations without crashing or encountering other issues.

Therefore, the overall risk posed by this vulnerability is minimal.

Compliance Impact

I don't know

Detection Guidance

There are no specific detection commands or network/system detection methods provided for this vulnerability in the available resources.

Mitigation Strategies

To mitigate the CVE-2026-3805 vulnerability, it is recommended to upgrade curl and libcurl to version 8.19.0 or later, where the issue has been fixed.

Alternatively, apply the patch provided for this vulnerability and rebuild libcurl.

If upgrading or patching is not immediately possible, avoid using SMB transfers with curl to prevent triggering the vulnerability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-3805. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart