Description
A heap use-after-free flaw was found in curl versions from 7.59.0 through 7.61.1 in the code related to closing an easy handle. When closing and cleaning up an 'easy' handle in the `Curl_close()` function, the library code first frees a struct (without nulling the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.
Published: 2018-10-31
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2018-8636 A heap use-after-free flaw was found in curl versions from 7.59.0 through 7.61.1 in the code related to closing an easy handle. When closing and cleaning up an 'easy' handle in the `Curl_close()` function, the library code first frees a struct (without nulling the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.
Ubuntu USN Ubuntu USN USN-3805-1 curl vulnerabilities
History

Thu, 16 Apr 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 17 Apr 2025 13: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'}


Subscriptions

Canonical Ubuntu Linux
Haxx Curl
Redhat Jboss Core Services
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-04-16T14:08:57.315Z

Reserved: 2018-09-11T00:00:00.000Z

Link: CVE-2018-16840

cve-icon Vulnrichment

Updated: 2024-08-05T10:32:53.993Z

cve-icon NVD

Status : Analyzed

Published: 2018-10-31T18:29:00.307

Modified: 2025-04-17T13:05:04.557

Link: CVE-2018-16840

cve-icon Redhat

Severity : Low

Publid Date: 2018-10-31T00:00:00Z

Links: CVE-2018-16840 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses