ALPINE-CVE-2018-16840
Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 31 Oct 2018, 18:29
Last modified:03 Dec 2025, 22:42
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.8 CRITICAL
3.1 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
31 Oct 2018, 18:29
Published
Vulnerability first disclosed
03 Dec 2025, 22:42
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Systems
- alpine•curl
< 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.62.0-r0 | < 7.61.1-r1 | < 7.61.1-r1 | < 7.61.1-r1 | < 7.61.1-r1 | < 7.62.0-r0