VDB

ALPINE-CVE-2018-16840

ALPINE-CVE-2018-16840 PUBLISHED CVSS 9.800000190734863 CRITICAL

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.

Risk Scores

CVSS v3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.15curl7.19.2-r0, 7.19.2-r1, 7.19.4-r0
Alpine:v3.17curl0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.8curl7.61.1-r0, 7.61.0-r0, 7.60.0-r1
Alpine:v3.21curl0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.11curl7.61.1-r0, 7.61.0-r0, 7.60.0-r1
Alpine:v3.20curl0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.12curl7.21.6-r0, 0, 7.19.2-r0
Alpine:v3.19curl7.50.2-r0, 0, 7.19.2-r0
Alpine:v3.14curl7.47.1-r0, 0, 7.19.2-r0
Alpine:v3.10curl7.55.1-r0, 7.51.0-r1, 7.52.0-r0
Alpine:v3.16curl7.21.4-r0, 0, 7.19.2-r0
Alpine:v3.5curl7.42.0-r0, 7.42.1-r0, 7.42.1-r1
Alpine:v3.23curl7.21.6-r0, 7.21.4-r0, 7.33.0-r0
Alpine:v3.9curl7.27.0-r0, 7.27.0-r1, 7.28.0-r0
Alpine:v3.13curl7.54.0-r0, 0, 7.19.2-r0
Alpine:v3.18curl7.19.2-r0, 0, 7.61.1-r0
Alpine:v3.6curl7.45.0-r0, 7.27.0-r1, 7.28.0-r0
Alpine:v3.7curl7.21.4-r1, 7.61.0-r0, 7.60.0-r1
Alpine:v3.22curl7.44.0-r0, 7.45.0-r0, 7.45.0-r1

Timeline

  • Oct 31, 2018 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›