---
id: CVE-2026-8925
title: |-
  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.
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.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-415
vendor: haxx
product: curl
affected:
  - 'curl >= 8.15.0, < 8.21.0'
patched:
  - curl 8.21.0
published: '2026-07-03'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T07:16:32.800'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-8925'
references:
  - url: 'https://curl.se/docs/CVE-2026-8925.html'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://curl.se/docs/CVE-2026-8925.json'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3735193'
    label: 2499f714-1537-4658-8207-48ae4bb9eae9
  - url: 'https://hackerone.com/reports/3735193'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-07-06T17:03:39.068747Z'
epss: 0.00674
epssPercentile: 0.5076
ingestedAt: '2026-07-04T04:55:39.441Z'
---

## Overview

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.

## Affected

- `curl >= 8.15.0, < 8.21.0`

## Remediation

Upgrade past the affected range:

- `curl 8.21.0`
