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.

Subscriptions

Vendors Products
Canonical Subscribe
Ubuntu Linux Subscribe
Jboss Core Services Subscribe

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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

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

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

Link: CVE-2018-16840

cve-icon Vulnrichment

No data.

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