CVE-2026-8925

SASL double-free

Published Jul 3, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The cURL library contains a flaw in its SASL authentication handling where the GSASL context may be released twice without the pointer being cleared in between. This results in a double‑free (CWE‑415) that triggers memory corruption. When an application uses libcurl, the duplicated free can crash the process, causing a denial of service. No evidence indicates that the flaw provides data exposure or arbitrary code execution.

Affected Systems

All builds of cURL that include SASL authentication functionality are affected. This includes both the standalone cURL command‑curl library used by third‑party applications. No specific version numbers are provided in the advisory, so any deployment containing the vulnerable SASL handling code should be assumed at risk.

Risk and Exploitability

The CVSS score of 9.8 categorizes this flaw as critical, while the EPSS score of < 1% indicates that exploitation is considered unlikely but possible. The vulnerability is not listed in CISA’s KEV catalog. Attackers are inferred to exploit the double‑free by sending crafted SASL authentication requests to a cURL‑enabled service, prompting the library to free the same context twice and crash the process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the most recent cURL release that includes the double‑free patch.
  • If the patch cannot be applied immediately, disable SASL authentication in all cURL‑based configurations or restrict SASL traffic to trusted hosts until the fix is available.
  • Enable hardened memory protections such as ASLR and stack canaries, and monitor application logs for abrupt crashes caused by malformed SASL requests.

Generated by OpenCVE AI on August 13, 2026 at 12:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8487-1 curl vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Description 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.
Title SASL double-free
References
Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle

  • CWE-415

    Double Free

Sources

Status
PUBLISHED
Assigner
curl
Published
Updated
Sep 15, 2026, 6:03 AM
Reserved
May 19, 2026, 8:11 AM
Status
Modified
Published
Jul 3, 2026, 7:16 AM
Modified
Sep 15, 2026, 7:16 AM
Severity
Important
Public date
Jul 3, 2026, 6:15 AM