Curl
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8.13.0, < 8.14.2
- >= 8.15.0, < 8.16.1
- >= 8.17.0, < 8.19.0
Fixed in 8.14.2, 8.16.1, 8.19.0
- >= f4831daa9b2a97e8a2921d6b62cc4dfdd0d8646e, < e090be9f73a7a71459ef678c7cc4b1f75e3ea883
Fixed in e090be9f73a7a71459ef678c7cc4b1f75e3ea883
- 8.18.0
- 8.17.0
- 8.16.0
- 8.15.0
- 8.14.1
- 8.14.0
- 8.13.0
Mitigation
Upgrade curl to 8.14.2 or 8.16.1 or 8.19.0 or later.
Upgrade curl to e090be9f73a7a71459ef678c7cc4b1f75e3ea883 or later.
Timeline
Days relative to CVE publicationFirst public PoC 32 days after publication; not in CISA KEV. First PoC: Rat5ak/CVE-2026-3805-curl-SMB-UAF (created 12 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Rat5ak/CVE-2026-3805-curl-SMB-UAF | 12 Apr 2026 +32 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /share1/file1.txt
- Seen in
- 1 repo: Rat5ak/CVE-2026-3805-curl-SMB-UAF
- Evidence
- Rat5ak/CVE-2026-3805-curl-SMB-UAF/README.md:136
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/share1/file1\.txt(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-3805 curl curl exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/share1/file1.txt"; reference:url,poc.griffinguard.io/cve/CVE-2026-3805; classtype:web-application-attack; sid:9773656; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: curl curl exploit attempt (CVE-2026-3805)
id: gg-pocmon-cve-2026-3805-9773656
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-3805. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-3805
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/share1/file1.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.3805