Medium
SASL double-free
Type: advisorySources: OSV
The curl logic that works with SASL authentication could end up cleaning up the GSASL context *twice* without clearing the pointer in between, making it `free()` the same pointer twice.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-8925
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:38 UTC · Revision 1
Source evidence
The curl logic that works with SASL authentication could end up cleaning up the GSASL context *twice* without clearing the pointer in between, making it `free()` the same pointer twice.
osv:CURL-CVE-2026-8925
Complete source record
{
"id": "0798a6afdb4e0c509fafe36fd4c8b51a9085291bee63d4f94978b2985610ea2e",
"url": "https://osv.dev/vulnerability/CURL-CVE-2026-8925",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SASL double-free",
"summary": "The curl logic that works with SASL authentication could end up cleaning up the GSASL context *twice* without clearing the pointer in between, making it `free()` the same pointer twice.",
"evidence": "osv:CURL-CVE-2026-8925",
"products": [],
"severity": "medium",
"structured": {
"id": "CURL-CVE-2026-8925",
"aliases": [
"CURL-CVE-2026-8925",
"CVE-2026-8925"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.15.0"
},
{
"fixed": "8.16.1"
},
{
"introduced": "8.17.0"
},
{
"fixed": "8.20.1"
},
{
"introduced": "8.21.0"
},
{
"fixed": "8.21.0"
}
]
},
{
"repo": "https://github.com/curl/curl.git",
"type": "GIT",
"events": [
{
"introduced": "ab650379a8c25ca952f651476d25b4cdd77bb3fc"
},
{
"fixed": "3da249e1f0716c06644ed3522a37a8bf81808012"
}
]
}
],
"versions": [
"8.20.0",
"8.19.0",
"8.18.0",
"8.17.0",
"8.16.0",
"8.15.0",
"curl-8_20_0",
"rc-8_20_0-3",
"rc-8_20_0-2",
"rc-8_20_0-1",
"curl-8_19_0",
"rc-8_19_0-3",
"rc-8_19_0-2",
"rc-8_19_0-1",
"curl-8_18_0",
"rc-8_18_0-3",
"rc-8_18_0-2",
"rc-8_18_0-1",
"curl-8_17_0",
"curl-8_16_0",
"curl-8_15_0"
],
"database_specific": {
"source": "https://curl.se/docs/CURL-CVE-2026-8925.json",
"vanir_signatures": [
{
"id": "CURL-CVE-2026-8925-2119fa0c",
"digest": {
"length": 369,
"function_hash": "302084604714407525692251374694272900329"
},
"source": "https://github.com/curl/curl.git/commit/3da249e1f0716c06644ed3522a37a8bf81808012",
"target": {
"file": "lib/vauth/gsasl.c",
"function": "Curl_auth_gsasl_is_supported"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CURL-CVE-2026-8925-3f7f0884",
"digest": {
"threshold": 0.9,
"line_hashes": [
"317222883309502823860142597895135200148",
"331108732736569959240708242580802890926",
"35931978830601830520329644919584359428",
"316091287703603607087007343834677822635",
"286034720472754720016913912006726094777",
"95164131527673258171731104945717953672",
"10060228462306698533293701394813706719"
]
},
"source": "https://github.com/curl/curl.git/commit/3da249e1f0716c06644ed3522a37a8bf81808012",
"target": {
"file": "lib/vauth/gsasl.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-25T01:05:22Z"
}
}
],
"modified": "2026-10-25T01:05:22.126592013Z",
"provider": "osv",
"references": [],
"provider_metadata": {
"CWE": {
"id": "CWE-415",
"desc": "Double Free"
},
"URL": "https://curl.se/docs/CVE-2026-8925.json",
"www": "https://curl.se/docs/CVE-2026-8925.html",
"issue": "https://hackerone.com/reports/3735193",
"affects": "both",
"package": "curl",
"severity": "Medium",
"last_affected": "8.20.0"
}
},
"related_cves": [
{
"value": "CVE-2026-8925",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 444378,
"published_at": "2026-06-24T08:00:00+00:00"
}