Heap disclosure via stale SMB path pointer
Published Mar 11, 2026 · Updated Mar 11, 2026
Use-after-free in curl 8.13.0 through 8.18.0 allows attackers to disclose heap data through a reused SMB connection. The SMB parser leaves req->path pointing inside connection-owned smbc->share; reuse frees that allocation before strlen and packet copying. SMB support and two transfers to the same host are required; reused heap contents reach the server, while invalid memory instead crashes the client.
Summary
What happened
Use-after-free in curl 8.13.0 through 8.18.0 allows attackers to disclose heap data through a reused SMB connection. The SMB parser leaves req->path pointing inside connection-owned smbc->share; reuse frees that allocation before strlen and packet copying. SMB support and two transfers to the same host are required; reused heap contents reach the server, while invalid memory instead crashes the client.
The record
- CVE
- CVE-2026-3805
- Published
- Mar 11, 2026
- Updated
- Mar 11, 2026
- Vendor
- curl
- Product
- curl
- Classifications
- CWE-416
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 11, 2026CVE publishedPublication date reported by the CVE source.
- Mar 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8.13.0 <=8.13.0
- Affected versionversion=8.14.0 <=8.14.0
- Affected versionversion=8.14.1 <=8.14.1
- Affected versionversion=8.15.0 <=8.15.0
- Affected versionversion=8.16.0 <=8.16.0
- Affected versionversion=8.17.0 <=8.17.0
- Affected versionversion=8.18.0 <=8.18.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2026-3805 curl SMB use-after-free proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo