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.
Published: 2026-07-03
Score: 9.8 Critical
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Updated information confirms that curl’s SASL authentication logic may free the GSASL context twice, resulting in a double‑free error (CWE‑1341). This memory corruption can cause the application using libcurl to crash, leading to denial of service. No information suggests that the flaw exposes data or permits arbitrary code execution.

Affected Systems

All builds of cURL that include SASL authentication functionality are affected. This includes both the standalone cURL command‑line client and the libcurl 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.

Generated by OpenCVE AI on July 21, 2026 at 10:13 UTC.

Remediation

No vendor fix or workaround currently provided.

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 July 21, 2026 at 10:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8487-1 curl vulnerabilities
History

Tue, 07 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 07 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

threat_severity

Important


Mon, 06 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 06 Jul 2026 17:30:00 +0000

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'}


Mon, 06 Jul 2026 04:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 05 Jul 2026 05:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 04 Jul 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 04 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 03 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 03 Jul 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 03 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Fri, 03 Jul 2026 06:45:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-07-06T17:04:15.411Z

Reserved: 2026-05-19T08:11:49.032Z

Link: CVE-2026-8925

cve-icon Vulnrichment

Updated: 2026-07-06T17:04:11.447Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-03T06:15:25Z

Links: CVE-2026-8925 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T10:15:02Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle