cbcvebase.
CVE-2018-16840
published 2018-10-31

CVE-2018-16840: 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…

PriorityP343critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.33%
87.1th percentile
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.

Affected

15 ranges
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiancurl< curl 7.62.0-1 (bookworm)curl 7.62.0-1 (bookworm)
haxxcurl>= 0 < 7.62.0-17.62.0-1
haxxcurl>= 0 < 7.62.0-17.62.0-1
haxxcurl>= 0 < 7.62.0-17.62.0-1
haxxcurl>= 0 < 7.62.0-17.62.0-1
haxxcurl>= 0 < 7.35.0-1ubuntu2.197.35.0-1ubuntu2.19
haxxcurl>= 0 < 7.47.0-1ubuntu2.117.47.0-1ubuntu2.11
haxxcurl>= 0 < 7.58.0-2ubuntu3.57.58.0-2ubuntu3.5
haxxcurl>= 7.59.0 < 7.62.07.62.0
paloaltopan-os
the_curl_projectcurl

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv3.04.3MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu4.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.