CVE-2018-16840 - CVE House
Back to Database
Status published Medium CVE-2018-16840

A heap use-after-free flaw was found in curl versions from...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2018-16840

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

The Curl Project

View all reports →

Affected Software

curl
Vulnerable Versions:
from 7.59.0 to 7.61.1

Timeline

Official Publish: October 31st, 2018
Last Modified: April 16th, 2026
Added to House: July 20th, 2026

CVSS Vectors

V3: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Weaknesses (CWE)